From 913bef3cc37686406d24d4d7087d88e7042ceb13 Mon Sep 17 00:00:00 2001
From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Date: Sun, 11 Jan 2015 14:31:06 -0800
Subject: [PATCH 1/3] Update buildit script to read EXTRA_LDFLAGS from the
 environment

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
---
 lib/buildit | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git libcxxabi-5.0.1.src/lib/buildit libcxxabi-5.0.1.src/lib/buildit
index 5a4a710..f63acd0 100755
--- libcxxabi-5.0.1.src/lib/buildit
+++ libcxxabi-5.0.1.src/lib/buildit
@@ -91,7 +91,7 @@ case $TRIPLE in
   done
   ;;
 esac
-$CC *.o $RC_CFLAGS $LDSHARED_FLAGS $EXTRA_FLAGS
+$CC *.o $RC_CFLAGS $EXTRA_LDFLAGS $LDSHARED_FLAGS $EXTRA_FLAGS
 
 if [ -z $RC_XBS ]
 then
-- 
2.15.1

