summaryrefslogtreecommitdiffstats
path: root/libcxx/lib
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2011-10-07 19:52:29 +0000
committerHoward Hinnant <hhinnant@apple.com>2011-10-07 19:52:29 +0000
commite5bb431d3f182b12ff4889bba6f707f696058353 (patch)
tree5c0d893ab00471cda9117b69d03e87bd66db2efa /libcxx/lib
parent1f19100451e25f7547e8b822c98d536c199bca78 (diff)
downloadbcm5719-llvm-e5bb431d3f182b12ff4889bba6f707f696058353.tar.gz
bcm5719-llvm-e5bb431d3f182b12ff4889bba6f707f696058353.zip
Change compatibility_version
llvm-svn: 141391
Diffstat (limited to 'libcxx/lib')
-rwxr-xr-xlibcxx/lib/buildit5
1 files changed, 3 insertions, 2 deletions
diff --git a/libcxx/lib/buildit b/libcxx/lib/buildit
index 0b191f38257..d6e6afc473d 100755
--- a/libcxx/lib/buildit
+++ b/libcxx/lib/buildit
@@ -35,7 +35,7 @@ then
RC_ProjectSourceVersion=1
fi
-EXTRA_FLAGS="-std=c++0x "
+EXTRA_FLAGS="-std=c++0x -Wglobal-constructors"
case $TRIPLE in
*-apple-*)
@@ -70,7 +70,8 @@ case $TRIPLE in
fi
LDSHARED_FLAGS="-o libc++.1.dylib \
-dynamiclib -nodefaultlibs \
- -current_version ${RC_ProjectSourceVersion} -compatibility_version 1 \
+ -current_version ${RC_ProjectSourceVersion} \
+ -compatibility_version ${RC_ProjectSourceVersion} \
-install_name /usr/lib/libc++.1.dylib \
-lSystem \
-Wl,-unexported_symbols_list,libc++unexp.exp \
OpenPOWER on IntegriCloud