summaryrefslogtreecommitdiff
path: root/build
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
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')
-rwxr-xr-xbuild/bmake12
-rwxr-xr-xbuild/bmakespeed4
2 files changed, 11 insertions, 5 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 \
diff --git a/build/bmakespeed b/build/bmakespeed
index 6e5598296..52625c268 100755
--- a/build/bmakespeed
+++ b/build/bmakespeed
@@ -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