diff options
Diffstat (limited to 'libsrtp.target.darwin-arm64.mk')
-rw-r--r-- | libsrtp.target.darwin-arm64.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libsrtp.target.darwin-arm64.mk b/libsrtp.target.darwin-arm64.mk index 4bc3360..024fa7a 100644 --- a/libsrtp.target.darwin-arm64.mk +++ b/libsrtp.target.darwin-arm64.mk @@ -52,7 +52,6 @@ LOCAL_SRC_FILES := \ # Flags passed to both C and C++ files. MY_CFLAGS_Debug := \ --param=ssp-buffer-size=4 \ - -fno-exceptions \ -fno-strict-aliasing \ -Wno-unused-parameter \ -Wno-missing-field-initializers \ @@ -146,6 +145,7 @@ LOCAL_C_INCLUDES_Debug := \ # Flags passed to only C++ (and not C) files. LOCAL_CPPFLAGS_Debug := \ + -fno-exceptions \ -fno-rtti \ -fno-threadsafe-statics \ -fvisibility-inlines-hidden \ @@ -161,7 +161,6 @@ LOCAL_CPPFLAGS_Debug := \ # Flags passed to both C and C++ files. MY_CFLAGS_Release := \ --param=ssp-buffer-size=4 \ - -fno-exceptions \ -fno-strict-aliasing \ -Wno-unused-parameter \ -Wno-missing-field-initializers \ @@ -255,6 +254,7 @@ LOCAL_C_INCLUDES_Release := \ # Flags passed to only C++ (and not C) files. LOCAL_CPPFLAGS_Release := \ + -fno-exceptions \ -fno-rtti \ -fno-threadsafe-statics \ -fvisibility-inlines-hidden \ @@ -279,6 +279,7 @@ LOCAL_LDFLAGS_Debug := \ -Wl,--fatal-warnings \ -Wl,-z,noexecstack \ -fPIC \ + -Wl,--dynamic-linker=/system/bin/linker64 \ -nostdlib \ -Wl,--no-undefined \ -Wl,--exclude-libs=ALL \ @@ -293,6 +294,7 @@ LOCAL_LDFLAGS_Release := \ -Wl,--fatal-warnings \ -Wl,-z,noexecstack \ -fPIC \ + -Wl,--dynamic-linker=/system/bin/linker64 \ -nostdlib \ -Wl,--no-undefined \ -Wl,--exclude-libs=ALL \ |