summaryrefslogtreecommitdiff
path: root/build/bmake
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-08 18:23:41 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-09 00:27:32 +0300
commit8be61202c2994bd7075394ccc10c8b5190d3b203 (patch)
treef2cd945c31b6c14a14682daaa16cd28544de30a0 /build/bmake
parentf4f991e5f0fac6b4924f0807ae8ed779f96d1bd7 (diff)
downloadManaVerse-8be61202c2994bd7075394ccc10c8b5190d3b203.tar.gz
ManaVerse-8be61202c2994bd7075394ccc10c8b5190d3b203.tar.bz2
ManaVerse-8be61202c2994bd7075394ccc10c8b5190d3b203.tar.xz
ManaVerse-8be61202c2994bd7075394ccc10c8b5190d3b203.zip
switch build scripts to using gcc 4.8
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 \