From 8be61202c2994bd7075394ccc10c8b5190d3b203 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 8 May 2013 18:23:41 +0300 Subject: switch build scripts to using gcc 4.8 --- build/bmake | 12 +++++++++--- build/bmakespeed | 4 ++-- 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 -- cgit v1.2.3-70-g09d2