diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-25 23:23:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-25 23:23:12 +0300 |
commit | 49099b799bfdf74393b70530d81942c414bed4a1 (patch) | |
tree | 1b29358667bb2f0c4c49ead8ce9aff6a1f6c0d2f /build | |
parent | fbf06774289389f198709ea898f744af0f7dcb95 (diff) | |
download | manaverse-49099b799bfdf74393b70530d81942c414bed4a1.tar.gz manaverse-49099b799bfdf74393b70530d81942c414bed4a1.tar.bz2 manaverse-49099b799bfdf74393b70530d81942c414bed4a1.tar.xz manaverse-49099b799bfdf74393b70530d81942c414bed4a1.zip |
In make debug script replace gcc from 4.9 to 5.0.
Diffstat (limited to 'build')
-rwxr-xr-x | build/bmakedebug | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/build/bmakedebug b/build/bmakedebug index f72ace4ea..4d6423653 100755 --- a/build/bmakedebug +++ b/build/bmakedebug @@ -4,20 +4,26 @@ cd .. dir=`pwd` -export CC=gcc-4.9 -export CXX=g++-4.9 +export CC=gcc-5 +export CXX=g++-5 export LANG=C # -Wdisabled-optimization look like gcc issue export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \ --fsanitize=address \ +-fsanitize=address -fsanitize=undefined \ +-fsanitize=shift -fsanitize=integer-divide-by-zero -fsanitize=unreachable \ +-fsanitize=vla-bound -fsanitize=null -fsanitize=return \ +-fsanitize=signed-integer-overflow -fsanitize=bounds -fsanitize=alignment \ +-fsanitize=object-size -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow \ +-fsanitize=nonnull-attribute -fsanitize=returns-nonnull-attribute -fsanitize=bool \ +-fsanitize=enum -fsanitize=vptr \ -fno-omit-frame-pointer -funswitch-loops \ -Wvariadic-macros -Wvla -Wredundant-decls \ -Wpacked-bitfield-compat -Wtrampolines \ -Wsuggest-attribute=noreturn -Wunused -Wstrict-aliasing=2 \ --fstrict-aliasing -Wunreachable-code -Wabi \ +-fstrict-aliasing -Wunreachable-code \ -Wvolatile-register-var -Winvalid-pch -Wredundant-decls \ -Wnormalized=nfkc -Wmissing-format-attribute -Wmissing-noreturn \ -Wswitch-default -Wsign-promo -Waddress -Wmissing-declarations \ @@ -28,7 +34,7 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \ -Wwrite-strings -Wstack-protector -Wshadow -Wunused-macros -Wsynth \ -Wbuiltin-macro-redefined -Wctor-dtor-privacy -Wdeprecated \ -Wendif-labels -Wformat=1 -Wimport -Wnon-virtual-dtor -Wpsabi \ --Wsign-promo -Wwrite-strings -D_FORTIFY_SOURCE=2 -Wc++11-compat -std=c++0x \ +-Wsign-promo -Wwrite-strings -D_FORTIFY_SOURCE=2 -std=gnu++1y \ -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 \ @@ -39,8 +45,11 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \ -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function \ -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -ftrapv \ -fsched-pressure \ --Wconditionally-supported -Wdate-time -Woverloaded-virtual \ --fno-var-tracking" +-Wconditionally-supported -Wdate-time \ +-fno-var-tracking \ +-Wopenmp-simd -Wformat-signedness \ +-Wswitch-bool -Wmemset-transposed-args -Wchkp -Wc++14-compat -Wsized-deallocation \ +-Wlogical-not-parentheses -Woverloaded-virtual" autoreconf -i ./configure --prefix=$dir/run \ |