summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ft2.target.darwin-arm.mk4
-rw-r--r--ft2.target.darwin-arm64.mk6
-rw-r--r--ft2.target.darwin-mips.mk4
-rw-r--r--ft2.target.darwin-x86.mk4
-rw-r--r--ft2.target.darwin-x86_64.mk4
-rw-r--r--ft2.target.linux-arm.mk4
-rw-r--r--ft2.target.linux-arm64.mk6
-rw-r--r--ft2.target.linux-mips.mk4
-rw-r--r--ft2.target.linux-x86.mk4
-rw-r--r--ft2.target.linux-x86_64.mk4
10 files changed, 24 insertions, 20 deletions
diff --git a/ft2.target.darwin-arm.mk b/ft2.target.darwin-arm.mk
index 3ff4ed7..0748941 100644
--- a/ft2.target.darwin-arm.mk
+++ b/ft2.target.darwin-arm.mk
@@ -49,7 +49,6 @@ LOCAL_SRC_FILES := \
MY_CFLAGS_Debug := \
-fstack-protector \
--param=ssp-buffer-size=4 \
- -fno-exceptions \
-fno-strict-aliasing \
-Wno-unused-parameter \
-Wno-missing-field-initializers \
@@ -145,6 +144,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 \
@@ -162,7 +162,6 @@ LOCAL_CPPFLAGS_Debug := \
MY_CFLAGS_Release := \
-fstack-protector \
--param=ssp-buffer-size=4 \
- -fno-exceptions \
-fno-strict-aliasing \
-Wno-unused-parameter \
-Wno-missing-field-initializers \
@@ -258,6 +257,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 \
diff --git a/ft2.target.darwin-arm64.mk b/ft2.target.darwin-arm64.mk
index 24118f8..3bea7cd 100644
--- a/ft2.target.darwin-arm64.mk
+++ b/ft2.target.darwin-arm64.mk
@@ -48,7 +48,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 \
@@ -134,6 +133,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 \
@@ -149,7 +149,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 \
@@ -235,6 +234,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 \
@@ -259,6 +259,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 \
@@ -273,6 +274,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 \
diff --git a/ft2.target.darwin-mips.mk b/ft2.target.darwin-mips.mk
index 92bef68..0760c8d 100644
--- a/ft2.target.darwin-mips.mk
+++ b/ft2.target.darwin-mips.mk
@@ -50,7 +50,6 @@ MY_CFLAGS_Debug := \
-fstack-protector \
--param=ssp-buffer-size=4 \
\
- -fno-exceptions \
-fno-strict-aliasing \
-Wno-unused-parameter \
-Wno-missing-field-initializers \
@@ -138,6 +137,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 \
@@ -156,7 +156,6 @@ MY_CFLAGS_Release := \
-fstack-protector \
--param=ssp-buffer-size=4 \
\
- -fno-exceptions \
-fno-strict-aliasing \
-Wno-unused-parameter \
-Wno-missing-field-initializers \
@@ -244,6 +243,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 \
diff --git a/ft2.target.darwin-x86.mk b/ft2.target.darwin-x86.mk
index 56b0224..df2cfdd 100644
--- a/ft2.target.darwin-x86.mk
+++ b/ft2.target.darwin-x86.mk
@@ -48,7 +48,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 \
@@ -140,6 +139,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 \
@@ -155,7 +155,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 \
@@ -247,6 +246,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 \
diff --git a/ft2.target.darwin-x86_64.mk b/ft2.target.darwin-x86_64.mk
index 735ffd3..bb586b2 100644
--- a/ft2.target.darwin-x86_64.mk
+++ b/ft2.target.darwin-x86_64.mk
@@ -49,7 +49,6 @@ LOCAL_SRC_FILES := \
MY_CFLAGS_Debug := \
-fstack-protector \
--param=ssp-buffer-size=4 \
- -fno-exceptions \
-fno-strict-aliasing \
-Wno-unused-parameter \
-Wno-missing-field-initializers \
@@ -139,6 +138,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 \
@@ -155,7 +155,6 @@ LOCAL_CPPFLAGS_Debug := \
MY_CFLAGS_Release := \
-fstack-protector \
--param=ssp-buffer-size=4 \
- -fno-exceptions \
-fno-strict-aliasing \
-Wno-unused-parameter \
-Wno-missing-field-initializers \
@@ -245,6 +244,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 \
diff --git a/ft2.target.linux-arm.mk b/ft2.target.linux-arm.mk
index 3ff4ed7..0748941 100644
--- a/ft2.target.linux-arm.mk
+++ b/ft2.target.linux-arm.mk
@@ -49,7 +49,6 @@ LOCAL_SRC_FILES := \
MY_CFLAGS_Debug := \
-fstack-protector \
--param=ssp-buffer-size=4 \
- -fno-exceptions \
-fno-strict-aliasing \
-Wno-unused-parameter \
-Wno-missing-field-initializers \
@@ -145,6 +144,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 \
@@ -162,7 +162,6 @@ LOCAL_CPPFLAGS_Debug := \
MY_CFLAGS_Release := \
-fstack-protector \
--param=ssp-buffer-size=4 \
- -fno-exceptions \
-fno-strict-aliasing \
-Wno-unused-parameter \
-Wno-missing-field-initializers \
@@ -258,6 +257,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 \
diff --git a/ft2.target.linux-arm64.mk b/ft2.target.linux-arm64.mk
index 24118f8..3bea7cd 100644
--- a/ft2.target.linux-arm64.mk
+++ b/ft2.target.linux-arm64.mk
@@ -48,7 +48,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 \
@@ -134,6 +133,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 \
@@ -149,7 +149,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 \
@@ -235,6 +234,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 \
@@ -259,6 +259,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 \
@@ -273,6 +274,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 \
diff --git a/ft2.target.linux-mips.mk b/ft2.target.linux-mips.mk
index 92bef68..0760c8d 100644
--- a/ft2.target.linux-mips.mk
+++ b/ft2.target.linux-mips.mk
@@ -50,7 +50,6 @@ MY_CFLAGS_Debug := \
-fstack-protector \
--param=ssp-buffer-size=4 \
\
- -fno-exceptions \
-fno-strict-aliasing \
-Wno-unused-parameter \
-Wno-missing-field-initializers \
@@ -138,6 +137,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 \
@@ -156,7 +156,6 @@ MY_CFLAGS_Release := \
-fstack-protector \
--param=ssp-buffer-size=4 \
\
- -fno-exceptions \
-fno-strict-aliasing \
-Wno-unused-parameter \
-Wno-missing-field-initializers \
@@ -244,6 +243,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 \
diff --git a/ft2.target.linux-x86.mk b/ft2.target.linux-x86.mk
index 56b0224..df2cfdd 100644
--- a/ft2.target.linux-x86.mk
+++ b/ft2.target.linux-x86.mk
@@ -48,7 +48,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 \
@@ -140,6 +139,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 \
@@ -155,7 +155,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 \
@@ -247,6 +246,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 \
diff --git a/ft2.target.linux-x86_64.mk b/ft2.target.linux-x86_64.mk
index 735ffd3..bb586b2 100644
--- a/ft2.target.linux-x86_64.mk
+++ b/ft2.target.linux-x86_64.mk
@@ -49,7 +49,6 @@ LOCAL_SRC_FILES := \
MY_CFLAGS_Debug := \
-fstack-protector \
--param=ssp-buffer-size=4 \
- -fno-exceptions \
-fno-strict-aliasing \
-Wno-unused-parameter \
-Wno-missing-field-initializers \
@@ -139,6 +138,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 \
@@ -155,7 +155,6 @@ LOCAL_CPPFLAGS_Debug := \
MY_CFLAGS_Release := \
-fstack-protector \
--param=ssp-buffer-size=4 \
- -fno-exceptions \
-fno-strict-aliasing \
-Wno-unused-parameter \
-Wno-missing-field-initializers \
@@ -245,6 +244,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 \