diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-12-09 23:45:02 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-12-10 01:22:10 +0200 |
commit | a55c3a3875bb78fd7d2e802cde89f690e0d7fbfa (patch) | |
tree | ffd509c6cde0e0d702148d2948696f406a5db65e /solenv/gbuild/platform | |
parent | d83b27aed3097a8e25e8e56e2af796205f826270 (diff) |
Avoid "deleted function definitions are a C++11 extension" in a better way
Tell also Apple's Clang to compile to the "gnu++0x" standard.
Change-Id: Ia9f5f2f5a62ac8c0cbbfbbdffede6f308aea8534
Diffstat (limited to 'solenv/gbuild/platform')
-rw-r--r-- | solenv/gbuild/platform/macosx.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/solenv/gbuild/platform/macosx.mk b/solenv/gbuild/platform/macosx.mk index 3a6f097f6b1c..5c590bc236ed 100644 --- a/solenv/gbuild/platform/macosx.mk +++ b/solenv/gbuild/platform/macosx.mk @@ -64,7 +64,8 @@ gb_CXXFLAGS := \ -Wno-non-virtual-dtor \ -fno-strict-aliasing \ -fsigned-char \ - $(if $(filter TRUE,$(COM_GCC_IS_CLANG)),,-malign-natural) \ + $(if $(filter TRUE,$(COM_GCC_IS_CLANG)),-std=gnu++0x,-malign-natural) \ + #-Wshadow \ break in compiler headers already #-fsigned-char \ might be removed? #-malign-natural \ might be removed? |