diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-20 17:52:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-20 17:52:32 +0300 |
commit | af04f2dba2ba62b5e245e1151c5bfaf95f1e2b37 (patch) | |
tree | 3823dadb7613377db5fcc8151342aa199dde97b8 | |
parent | 1e9b7c519953c73c6e5ca4ce2169eb674267c115 (diff) | |
download | plus-af04f2dba2ba62b5e245e1151c5bfaf95f1e2b37.tar.gz plus-af04f2dba2ba62b5e245e1151c5bfaf95f1e2b37.tar.bz2 plus-af04f2dba2ba62b5e245e1151c5bfaf95f1e2b37.tar.xz plus-af04f2dba2ba62b5e245e1151c5bfaf95f1e2b37.zip |
add flag -funsafe-loop-optimizations to build files.
-rwxr-xr-x | build/bcmake | 2 | ||||
-rwxr-xr-x | build/bmake | 2 | ||||
-rwxr-xr-x | build/dcmake | 2 | ||||
-rwxr-xr-x | build/pmake | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/build/bcmake b/build/bcmake index 7ca730035..6c6b392ff 100755 --- a/build/bcmake +++ b/build/bcmake @@ -4,7 +4,7 @@ cd .. export PATH=/home/mingw/cross/i686-w64-mingw32/bin:/home/mingw/cross/bin:$PATH #export CXXFLAGS="-Wall -O3 -flto -fwhole-program -ffast-math -funswitch-loops -std=gnu++0x" -export CXXFLAGS="-Wall -O5 -g1 -ffast-math -funswitch-loops -std=gnu++0x" +export CXXFLAGS="-Wall -O5 -g1 -ffast-math -funswitch-loops -funsafe-loop-optimizations -std=gnu++0x" cmake -DCMAKE_TOOLCHAIN_FILE=build/toolchain.cmake . 2>build/make1.log make -j5 VERBOSE=1 2>>build/make.log diff --git a/build/bmake b/build/bmake index 8ee88e726..5bc58e115 100755 --- a/build/bmake +++ b/build/bmake @@ -28,7 +28,7 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \ -Wsign-promo -Wwrite-strings -D_FORTIFY_SOURCE=2 -Wc++11-compat -std=c++0x \ -Wdelete-non-virtual-dtor -Wmaybe-uninitialized -Wunused-local-typedefs \ -Wvector-operation-performance -Wfree-nonheap-object -Winvalid-memory-model \ --Wnarrowing -Wzero-as-null-pointer-constant" +-Wnarrowing -Wzero-as-null-pointer-constant -funsafe-loop-optimizations" autoreconf -i ./configure --prefix=$dir/run \ diff --git a/build/dcmake b/build/dcmake index caca52fbb..66bc70190 100755 --- a/build/dcmake +++ b/build/dcmake @@ -3,7 +3,7 @@ cd .. export PATH=/home/mingw/cross/i686-w64-mingw32/bin:/home/mingw/cross/bin:$PATH -export CXXFLAGS="-Wall -g1 -O2 -ffast-math -std=gnu++0x" +export CXXFLAGS="-Wall -g1 -O2 -ffast-math -std=gnu++0x -funswitch-loops -funsafe-loop-optimizations" cmake -DCMAKE_TOOLCHAIN_FILE=build/toolchain.cmake . 2>build/make1.log make -j5 VERBOSE=1 2>>build/make.log diff --git a/build/pmake b/build/pmake index a7b93f9a1..51e9ff690 100755 --- a/build/pmake +++ b/build/pmake @@ -26,7 +26,7 @@ export CXXFLAGS="-pg -fno-inline -Wvariadic-macros -Wvla -Wredundant-decls \ -Wsign-promo -Wwrite-strings -D_FORTIFY_SOURCE=2 -Wc++11-compat -std=c++0x \ -Wdelete-non-virtual-dtor -Wmaybe-uninitialized -Wunused-local-typedefs \ -Wvector-operation-performance -Wfree-nonheap-object -Winvalid-memory-model \ --Wnarrowing -Wzero-as-null-pointer-constant" +-Wnarrowing -Wzero-as-null-pointer-constant -funsafe-loop-optimizations" autoreconf -i ./configure --prefix=$dir/run \ |