diff options
Diffstat (limited to 'BUILD/SETUP.sh')
-rw-r--r-- | BUILD/SETUP.sh | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/BUILD/SETUP.sh b/BUILD/SETUP.sh index 37c3dc2ea37..e778fc34ceb 100644 --- a/BUILD/SETUP.sh +++ b/BUILD/SETUP.sh @@ -5,13 +5,14 @@ fi set -e # exit on error -AM_MAKEFLAGS="-j4" # XXX: auto-make uses this variable - export it??? +export AM_MAKEFLAGS="-j 4" # XXX: auto-make uses this variable - export it??? # If you are not using codefusion add "-Wpointer-arith" to WARNINGS # The following warning flag will give too many warnings: # -Wshadow -Wunused -Winline (The later isn't usable in C++ as # __attribute()__ doesn't work with gnu C++) -global_warnings="-Wimplicit -Wreturn-type -Wid-clash-51 -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wuninitialized -Wformat -Wimplicit-function-dec -Wimplicit-int -Wparentheses -Wsign-compare -Wwrite-strings" +global_warnings="-Wimplicit -Wreturn-type -Wid-clash-51 -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wimplicit-function-dec -Wimplicit-int -Wparentheses -Wsign-compare -Wwrite-strings" +debug_extra_warnings="-Wuninitialized" c_warnings="$global_warnings -Wunused" cxx_warnings="$global_warnings -Woverloaded-virtual -Wextern-inline -Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor" @@ -19,8 +20,9 @@ alpha_cflags="-mcpu=ev6 -Wa,-mev6" # not used yet pentium_cflags="-mpentiumpro" sparc_cflags="" -fast_cflags="-O6 -fomit-frame-pointer" -debug_cflags="-DEXTRA_DEBUG -DFORCE_INIT_OF_VARS -O2" +fast_cflags="-O6 -fno-omit-frame-pointer" +reckless_cflags="-O6 -fomit-frame-pointer" +debug_cflags="-DEXTRA_DEBUG -DFORCE_INIT_OF_VARS -DSAFEMALLOC -DSAFE_MUTEX -O2" base_cxxflags="-felide-constructors -fno-exceptions -fno-rtti" @@ -37,7 +39,7 @@ else make=make fi -$make -k clean || true +$make -k clean || true /bin/rm -f */.deps/*.P config.cache aclocal; autoheader; aclocal; automake; autoconf |