From 49d592ea799d639bfeaf4f0dbaf36f86e0b64f20 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 2 Sep 2014 23:37:33 +0300 Subject: From build scripts remove gcc option -Wdisabled-optimization. --- build/bmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'build/bmake') 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 \ -- cgit v1.2.3-70-g09d2