summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild/bcmake2
-rwxr-xr-xbuild/bmake2
-rwxr-xr-xbuild/dcmake2
-rwxr-xr-xbuild/pmake2
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 \