diff options
Diffstat (limited to 'libvpx_obj_int_extract.host.darwin-arm.mk')
-rw-r--r-- | libvpx_obj_int_extract.host.darwin-arm.mk | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/libvpx_obj_int_extract.host.darwin-arm.mk b/libvpx_obj_int_extract.host.darwin-arm.mk index 0e1ab6f..3a1ea64 100644 --- a/libvpx_obj_int_extract.host.darwin-arm.mk +++ b/libvpx_obj_int_extract.host.darwin-arm.mk @@ -41,6 +41,13 @@ MY_CFLAGS_Debug := \ -pipe \ -fPIC \ -Wno-format \ + -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 \ @@ -93,7 +100,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. @@ -109,6 +117,13 @@ MY_CFLAGS_Release := \ -pipe \ -fPIC \ -Wno-format \ + -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 \ @@ -161,7 +176,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)) |