Kaydet (Commit) 86c0b5d2 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Use CXXFLAGS_CXX11 here, too

Change-Id: I82735e3f09f22763ef48aab18dee867159dbf842
üst 0699cbf1
......@@ -62,15 +62,8 @@ gb_CXXFLAGS := \
-Wno-ctor-dtor-privacy \
-Wno-non-virtual-dtor \
-fno-strict-aliasing \
-fsigned-char
# No idea if -malign-natural is needed, but macosx.mk uses it...
# Why it isn't used in gb_CFLAGS I have no idea.
# Anyway, Clang doesn't have this option.
ifneq ($(COM_GCC_IS_CLANG),TRUE)
gb_CXXFLAGS += \
-malign-natural
endif
-fsigned-char \
$(CXXFLAGS_CXX11) \
# these are to get gcc to switch to Objective-C++ or Objective-C mode
gb_OBJC_OBJCXX_COMMON_FLAGS := -fobjc-abi-version=2 -fobjc-legacy-dispatch -D__IPHONE_OS_VERSION_MIN_REQUIRED=40300
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment