diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-02 23:37:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-06 01:18:56 +0300 |
commit | 49d592ea799d639bfeaf4f0dbaf36f86e0b64f20 (patch) | |
tree | 50719fd831819a6260056613832c8d4ebed40249 /build | |
parent | 19f03b283367a95e3ffb7ef63049fd2992352aab (diff) | |
download | ManaVerse-49d592ea799d639bfeaf4f0dbaf36f86e0b64f20.tar.gz ManaVerse-49d592ea799d639bfeaf4f0dbaf36f86e0b64f20.tar.bz2 ManaVerse-49d592ea799d639bfeaf4f0dbaf36f86e0b64f20.tar.xz ManaVerse-49d592ea799d639bfeaf4f0dbaf36f86e0b64f20.zip |
From build scripts remove gcc option -Wdisabled-optimization.
Diffstat (limited to 'build')
-rwxr-xr-x | build/bmake | 4 | ||||
-rwxr-xr-x | build/bmakedebug | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/build/bmake b/build/bmake index 31f19ec06..11f4c74f3 100755 --- a/build/bmake +++ b/build/bmake @@ -9,12 +9,14 @@ export CXX=g++-4.9 export LANG=C +# -Wdisabled-optimization look like gcc issue + export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \ -funswitch-loops \ -Wvariadic-macros -Wvla -Wredundant-decls \ -Wpacked-bitfield-compat -Wtrampolines \ -Wsuggest-attribute=noreturn -Wunused -Wstrict-aliasing=2 \ --fstrict-aliasing -Wunreachable-code -Wabi -Wdisabled-optimization \ +-fstrict-aliasing -Wunreachable-code -Wabi \ -Wvolatile-register-var -Winvalid-pch -Wredundant-decls \ -Wnormalized=nfkc -Wmissing-format-attribute -Wmissing-noreturn \ -Wswitch-default -Wsign-promo -Waddress -Wmissing-declarations \ diff --git a/build/bmakedebug b/build/bmakedebug index 8c3d43089..935666128 100755 --- a/build/bmakedebug +++ b/build/bmakedebug @@ -9,13 +9,15 @@ export CXX=g++-4.9 export LANG=C +# -Wdisabled-optimization look like gcc issue + export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \ -fsanitize=address \ -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 -Wdisabled-optimization \ +-fstrict-aliasing -Wunreachable-code -Wabi \ -Wvolatile-register-var -Winvalid-pch -Wredundant-decls \ -Wnormalized=nfkc -Wmissing-format-attribute -Wmissing-noreturn \ -Wswitch-default -Wsign-promo -Waddress -Wmissing-declarations \ |