diff options
author | Howard Hinnant <hhinnant@apple.com> | 2012-01-30 16:03:23 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2012-01-30 16:03:23 +0000 |
commit | 2b891bfd06e8e1ecf399b2684d5616de507e8403 (patch) | |
tree | e27dd254fd41f0363b170cc05ab7a2ba4b7d3ef8 /lib/buildit | |
parent | ca00a4e83ed1adcdc6f34ae25c5e705315168a26 (diff) | |
download | libcxxabi-2b891bfd06e8e1ecf399b2684d5616de507e8403.tar.gz |
Add -fstrict-aliasing -Wstrict-aliasing and change optimization from -Os to -O3
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@149250 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/buildit')
-rwxr-xr-x | lib/buildit | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/buildit b/lib/buildit index e2dac39..51b9a81 100755 --- a/lib/buildit +++ b/lib/buildit @@ -27,7 +27,7 @@ then RC_ProjectSourceVersion=1 fi -EXTRA_FLAGS="-std=c++0x -stdlib=libc++" +EXTRA_FLAGS="-std=c++0x -stdlib=libc++ -fstrict-aliasing -Wstrict-aliasing=2" case $TRIPLE in *-apple-*) @@ -73,7 +73,7 @@ fi set -x for FILE in ../src/*.cpp; do - $CXX -c -g -Os $RC_CFLAGS $EXTRA_FLAGS -I../include $FILE + $CXX -c -g -O3 $RC_CFLAGS $EXTRA_FLAGS -I../include $FILE done case $TRIPLE in *-*-mingw*) |