summaryrefslogtreecommitdiff
path: root/build/bmake
diff options
context:
space:
mode:
Diffstat (limited to 'build/bmake')
-rwxr-xr-xbuild/bmake12
1 files changed, 9 insertions, 3 deletions
diff --git a/build/bmake b/build/bmake
index 5bc58e115..7e5076655 100755
--- a/build/bmake
+++ b/build/bmake
@@ -4,8 +4,8 @@ cd ..
dir=`pwd`
-export CC=gcc-4.7
-export CXX=g++-4.7
+export CC=gcc-4.8
+export CXX=g++-4.8
export LANG=C
@@ -28,7 +28,13 @@ 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 -funsafe-loop-optimizations"
+-Wnarrowing -Wzero-as-null-pointer-constant -funsafe-loop-optimizations \
+-Wabi-tag -Waggressive-loop-optimizations -Wclobbered -Wempty-body \
+-Wignored-qualifiers -Wliteral-suffix -Wmissing-field-initializers \
+-Woverlength-strings -Wpedantic -Wsign-compare -Wsizeof-pointer-memaccess \
+-Wsuggest-attribute=format -Wtype-limits -Wuninitialized \
+-Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function \
+-Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable"
autoreconf -i
./configure --prefix=$dir/run \