diff options
Diffstat (limited to 'icudata.host.darwin-x86_64.mk')
-rw-r--r-- | icudata.host.darwin-x86_64.mk | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/icudata.host.darwin-x86_64.mk b/icudata.host.darwin-x86_64.mk index 8263657..cfaee0f 100644 --- a/icudata.host.darwin-x86_64.mk +++ b/icudata.host.darwin-x86_64.mk @@ -41,6 +41,13 @@ MY_CFLAGS_Debug := \ -fPIC \ -Wno-format \ -m64 \ + -Wheader-hygiene \ + -Wno-char-subscripts \ + -Wno-unneeded-internal-declaration \ + -Wno-covered-switch-default \ + -Wstring-conversion \ + -Wno-c++11-narrowing \ + -Wno-deprecated-register \ -Os \ -g \ -fdata-sections \ @@ -94,7 +101,8 @@ LOCAL_CPPFLAGS_Debug := \ -fno-rtti \ -fno-threadsafe-statics \ -fvisibility-inlines-hidden \ - -Wno-deprecated + -Wno-deprecated \ + -std=gnu++11 # Flags passed to both C and C++ files. @@ -111,6 +119,13 @@ MY_CFLAGS_Release := \ -fPIC \ -Wno-format \ -m64 \ + -Wheader-hygiene \ + -Wno-char-subscripts \ + -Wno-unneeded-internal-declaration \ + -Wno-covered-switch-default \ + -Wstring-conversion \ + -Wno-c++11-narrowing \ + -Wno-deprecated-register \ -Os \ -fno-ident \ -fdata-sections \ @@ -164,7 +179,8 @@ LOCAL_CPPFLAGS_Release := \ -fno-rtti \ -fno-threadsafe-statics \ -fvisibility-inlines-hidden \ - -Wno-deprecated + -Wno-deprecated \ + -std=gnu++11 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) |