diff options
-rw-r--r-- | solenv/gbuild/platform/com_GCC_defs.mk | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk index 9ee1fd271c41..647aa8b6fadb 100644 --- a/solenv/gbuild/platform/com_GCC_defs.mk +++ b/solenv/gbuild/platform/com_GCC_defs.mk @@ -99,11 +99,10 @@ gb_CFLAGS_WERROR := $(if $(ENABLE_WERROR),-Werror) # This is the default in non-C++11 mode ifeq ($(COM_GCC_IS_CLANG),TRUE) -# doesn't know gnu++03 and this seems to be the same anyway gb_CXX03FLAGS := -std=gnu++98 -Werror=c++11-extensions -Wno-c++11-long-long \ -Wno-deprecated-declarations else -gb_CXX03FLAGS := -std=gnu++03 -pedantic-errors -Wno-long-long \ +gb_CXX03FLAGS := -std=gnu++98 -pedantic-errors -Wno-long-long \ -Wno-variadic-macros -Wno-non-virtual-dtor -Wno-deprecated-declarations endif |