diff options
Diffstat (limited to 'system_wrappers')
20 files changed, 40 insertions, 0 deletions
diff --git a/system_wrappers/source/cpu_features_android.target.darwin-arm.mk b/system_wrappers/source/cpu_features_android.target.darwin-arm.mk index 79fbf62c..cc26fe5e 100644 --- a/system_wrappers/source/cpu_features_android.target.darwin-arm.mk +++ b/system_wrappers/source/cpu_features_android.target.darwin-arm.mk @@ -270,6 +270,7 @@ LOCAL_LDFLAGS_Debug := \ -fuse-ld=gold \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,--icf=safe \ -Wl,--warn-shared-textrel \ -Wl,-O1 \ @@ -287,6 +288,7 @@ LOCAL_LDFLAGS_Release := \ -fuse-ld=gold \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,--icf=safe \ -Wl,-O1 \ -Wl,--as-needed \ diff --git a/system_wrappers/source/cpu_features_android.target.darwin-arm64.mk b/system_wrappers/source/cpu_features_android.target.darwin-arm64.mk index 275b69c9..c9e95b7e 100644 --- a/system_wrappers/source/cpu_features_android.target.darwin-arm64.mk +++ b/system_wrappers/source/cpu_features_android.target.darwin-arm64.mk @@ -239,6 +239,7 @@ LOCAL_LDFLAGS_Debug := \ -fPIC \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,--warn-shared-textrel \ -Wl,-O1 \ -Wl,--as-needed @@ -252,6 +253,7 @@ LOCAL_LDFLAGS_Release := \ -fPIC \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,-O1 \ -Wl,--as-needed \ -Wl,--gc-sections \ diff --git a/system_wrappers/source/cpu_features_android.target.darwin-mips.mk b/system_wrappers/source/cpu_features_android.target.darwin-mips.mk index bef12923..03121126 100644 --- a/system_wrappers/source/cpu_features_android.target.darwin-mips.mk +++ b/system_wrappers/source/cpu_features_android.target.darwin-mips.mk @@ -257,6 +257,7 @@ LOCAL_LDFLAGS_Debug := \ -Wl,--no-keep-memory \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,--warn-shared-textrel \ -Wl,-O1 \ -Wl,--as-needed @@ -272,6 +273,7 @@ LOCAL_LDFLAGS_Release := \ -Wl,--no-keep-memory \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,-O1 \ -Wl,--as-needed \ -Wl,--gc-sections \ diff --git a/system_wrappers/source/cpu_features_android.target.darwin-x86.mk b/system_wrappers/source/cpu_features_android.target.darwin-x86.mk index d7f40ffb..0a3a9c6b 100644 --- a/system_wrappers/source/cpu_features_android.target.darwin-x86.mk +++ b/system_wrappers/source/cpu_features_android.target.darwin-x86.mk @@ -251,6 +251,7 @@ LOCAL_LDFLAGS_Debug := \ -fuse-ld=gold \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,--warn-shared-textrel \ -Wl,-O1 \ -Wl,--as-needed @@ -266,6 +267,7 @@ LOCAL_LDFLAGS_Release := \ -fuse-ld=gold \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,-O1 \ -Wl,--as-needed \ -Wl,--gc-sections \ diff --git a/system_wrappers/source/cpu_features_android.target.darwin-x86_64.mk b/system_wrappers/source/cpu_features_android.target.darwin-x86_64.mk index 3e33e414..d3cab632 100644 --- a/system_wrappers/source/cpu_features_android.target.darwin-x86_64.mk +++ b/system_wrappers/source/cpu_features_android.target.darwin-x86_64.mk @@ -249,6 +249,7 @@ LOCAL_LDFLAGS_Debug := \ -fuse-ld=gold \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,--warn-shared-textrel \ -Wl,-O1 \ -Wl,--as-needed @@ -264,6 +265,7 @@ LOCAL_LDFLAGS_Release := \ -fuse-ld=gold \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,-O1 \ -Wl,--as-needed \ -Wl,--gc-sections \ diff --git a/system_wrappers/source/cpu_features_android.target.linux-arm.mk b/system_wrappers/source/cpu_features_android.target.linux-arm.mk index 79fbf62c..cc26fe5e 100644 --- a/system_wrappers/source/cpu_features_android.target.linux-arm.mk +++ b/system_wrappers/source/cpu_features_android.target.linux-arm.mk @@ -270,6 +270,7 @@ LOCAL_LDFLAGS_Debug := \ -fuse-ld=gold \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,--icf=safe \ -Wl,--warn-shared-textrel \ -Wl,-O1 \ @@ -287,6 +288,7 @@ LOCAL_LDFLAGS_Release := \ -fuse-ld=gold \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,--icf=safe \ -Wl,-O1 \ -Wl,--as-needed \ diff --git a/system_wrappers/source/cpu_features_android.target.linux-arm64.mk b/system_wrappers/source/cpu_features_android.target.linux-arm64.mk index 275b69c9..c9e95b7e 100644 --- a/system_wrappers/source/cpu_features_android.target.linux-arm64.mk +++ b/system_wrappers/source/cpu_features_android.target.linux-arm64.mk @@ -239,6 +239,7 @@ LOCAL_LDFLAGS_Debug := \ -fPIC \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,--warn-shared-textrel \ -Wl,-O1 \ -Wl,--as-needed @@ -252,6 +253,7 @@ LOCAL_LDFLAGS_Release := \ -fPIC \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,-O1 \ -Wl,--as-needed \ -Wl,--gc-sections \ diff --git a/system_wrappers/source/cpu_features_android.target.linux-mips.mk b/system_wrappers/source/cpu_features_android.target.linux-mips.mk index bef12923..03121126 100644 --- a/system_wrappers/source/cpu_features_android.target.linux-mips.mk +++ b/system_wrappers/source/cpu_features_android.target.linux-mips.mk @@ -257,6 +257,7 @@ LOCAL_LDFLAGS_Debug := \ -Wl,--no-keep-memory \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,--warn-shared-textrel \ -Wl,-O1 \ -Wl,--as-needed @@ -272,6 +273,7 @@ LOCAL_LDFLAGS_Release := \ -Wl,--no-keep-memory \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,-O1 \ -Wl,--as-needed \ -Wl,--gc-sections \ diff --git a/system_wrappers/source/cpu_features_android.target.linux-x86.mk b/system_wrappers/source/cpu_features_android.target.linux-x86.mk index d7f40ffb..0a3a9c6b 100644 --- a/system_wrappers/source/cpu_features_android.target.linux-x86.mk +++ b/system_wrappers/source/cpu_features_android.target.linux-x86.mk @@ -251,6 +251,7 @@ LOCAL_LDFLAGS_Debug := \ -fuse-ld=gold \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,--warn-shared-textrel \ -Wl,-O1 \ -Wl,--as-needed @@ -266,6 +267,7 @@ LOCAL_LDFLAGS_Release := \ -fuse-ld=gold \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,-O1 \ -Wl,--as-needed \ -Wl,--gc-sections \ diff --git a/system_wrappers/source/cpu_features_android.target.linux-x86_64.mk b/system_wrappers/source/cpu_features_android.target.linux-x86_64.mk index 3e33e414..d3cab632 100644 --- a/system_wrappers/source/cpu_features_android.target.linux-x86_64.mk +++ b/system_wrappers/source/cpu_features_android.target.linux-x86_64.mk @@ -249,6 +249,7 @@ LOCAL_LDFLAGS_Debug := \ -fuse-ld=gold \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,--warn-shared-textrel \ -Wl,-O1 \ -Wl,--as-needed @@ -264,6 +265,7 @@ LOCAL_LDFLAGS_Release := \ -fuse-ld=gold \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,-O1 \ -Wl,--as-needed \ -Wl,--gc-sections \ diff --git a/system_wrappers/source/system_wrappers.target.darwin-arm.mk b/system_wrappers/source/system_wrappers.target.darwin-arm.mk index bce5845d..c2058606 100644 --- a/system_wrappers/source/system_wrappers.target.darwin-arm.mk +++ b/system_wrappers/source/system_wrappers.target.darwin-arm.mk @@ -319,6 +319,7 @@ LOCAL_LDFLAGS_Debug := \ -fuse-ld=gold \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,--icf=safe \ -Wl,--warn-shared-textrel \ -Wl,-O1 \ @@ -336,6 +337,7 @@ LOCAL_LDFLAGS_Release := \ -fuse-ld=gold \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,--icf=safe \ -Wl,-O1 \ -Wl,--as-needed \ diff --git a/system_wrappers/source/system_wrappers.target.darwin-arm64.mk b/system_wrappers/source/system_wrappers.target.darwin-arm64.mk index f0e21dc3..f04dc0ef 100644 --- a/system_wrappers/source/system_wrappers.target.darwin-arm64.mk +++ b/system_wrappers/source/system_wrappers.target.darwin-arm64.mk @@ -288,6 +288,7 @@ LOCAL_LDFLAGS_Debug := \ -fPIC \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,--warn-shared-textrel \ -Wl,-O1 \ -Wl,--as-needed @@ -301,6 +302,7 @@ LOCAL_LDFLAGS_Release := \ -fPIC \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,-O1 \ -Wl,--as-needed \ -Wl,--gc-sections \ diff --git a/system_wrappers/source/system_wrappers.target.darwin-mips.mk b/system_wrappers/source/system_wrappers.target.darwin-mips.mk index 9ae79055..8267dfeb 100644 --- a/system_wrappers/source/system_wrappers.target.darwin-mips.mk +++ b/system_wrappers/source/system_wrappers.target.darwin-mips.mk @@ -306,6 +306,7 @@ LOCAL_LDFLAGS_Debug := \ -Wl,--no-keep-memory \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,--warn-shared-textrel \ -Wl,-O1 \ -Wl,--as-needed @@ -321,6 +322,7 @@ LOCAL_LDFLAGS_Release := \ -Wl,--no-keep-memory \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,-O1 \ -Wl,--as-needed \ -Wl,--gc-sections \ diff --git a/system_wrappers/source/system_wrappers.target.darwin-x86.mk b/system_wrappers/source/system_wrappers.target.darwin-x86.mk index bfd00add..5dfc04fc 100644 --- a/system_wrappers/source/system_wrappers.target.darwin-x86.mk +++ b/system_wrappers/source/system_wrappers.target.darwin-x86.mk @@ -300,6 +300,7 @@ LOCAL_LDFLAGS_Debug := \ -fuse-ld=gold \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,--warn-shared-textrel \ -Wl,-O1 \ -Wl,--as-needed @@ -315,6 +316,7 @@ LOCAL_LDFLAGS_Release := \ -fuse-ld=gold \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,-O1 \ -Wl,--as-needed \ -Wl,--gc-sections \ diff --git a/system_wrappers/source/system_wrappers.target.darwin-x86_64.mk b/system_wrappers/source/system_wrappers.target.darwin-x86_64.mk index 336867f2..47d48a13 100644 --- a/system_wrappers/source/system_wrappers.target.darwin-x86_64.mk +++ b/system_wrappers/source/system_wrappers.target.darwin-x86_64.mk @@ -298,6 +298,7 @@ LOCAL_LDFLAGS_Debug := \ -fuse-ld=gold \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,--warn-shared-textrel \ -Wl,-O1 \ -Wl,--as-needed @@ -313,6 +314,7 @@ LOCAL_LDFLAGS_Release := \ -fuse-ld=gold \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,-O1 \ -Wl,--as-needed \ -Wl,--gc-sections \ diff --git a/system_wrappers/source/system_wrappers.target.linux-arm.mk b/system_wrappers/source/system_wrappers.target.linux-arm.mk index bce5845d..c2058606 100644 --- a/system_wrappers/source/system_wrappers.target.linux-arm.mk +++ b/system_wrappers/source/system_wrappers.target.linux-arm.mk @@ -319,6 +319,7 @@ LOCAL_LDFLAGS_Debug := \ -fuse-ld=gold \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,--icf=safe \ -Wl,--warn-shared-textrel \ -Wl,-O1 \ @@ -336,6 +337,7 @@ LOCAL_LDFLAGS_Release := \ -fuse-ld=gold \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,--icf=safe \ -Wl,-O1 \ -Wl,--as-needed \ diff --git a/system_wrappers/source/system_wrappers.target.linux-arm64.mk b/system_wrappers/source/system_wrappers.target.linux-arm64.mk index f0e21dc3..f04dc0ef 100644 --- a/system_wrappers/source/system_wrappers.target.linux-arm64.mk +++ b/system_wrappers/source/system_wrappers.target.linux-arm64.mk @@ -288,6 +288,7 @@ LOCAL_LDFLAGS_Debug := \ -fPIC \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,--warn-shared-textrel \ -Wl,-O1 \ -Wl,--as-needed @@ -301,6 +302,7 @@ LOCAL_LDFLAGS_Release := \ -fPIC \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,-O1 \ -Wl,--as-needed \ -Wl,--gc-sections \ diff --git a/system_wrappers/source/system_wrappers.target.linux-mips.mk b/system_wrappers/source/system_wrappers.target.linux-mips.mk index 9ae79055..8267dfeb 100644 --- a/system_wrappers/source/system_wrappers.target.linux-mips.mk +++ b/system_wrappers/source/system_wrappers.target.linux-mips.mk @@ -306,6 +306,7 @@ LOCAL_LDFLAGS_Debug := \ -Wl,--no-keep-memory \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,--warn-shared-textrel \ -Wl,-O1 \ -Wl,--as-needed @@ -321,6 +322,7 @@ LOCAL_LDFLAGS_Release := \ -Wl,--no-keep-memory \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,-O1 \ -Wl,--as-needed \ -Wl,--gc-sections \ diff --git a/system_wrappers/source/system_wrappers.target.linux-x86.mk b/system_wrappers/source/system_wrappers.target.linux-x86.mk index bfd00add..5dfc04fc 100644 --- a/system_wrappers/source/system_wrappers.target.linux-x86.mk +++ b/system_wrappers/source/system_wrappers.target.linux-x86.mk @@ -300,6 +300,7 @@ LOCAL_LDFLAGS_Debug := \ -fuse-ld=gold \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,--warn-shared-textrel \ -Wl,-O1 \ -Wl,--as-needed @@ -315,6 +316,7 @@ LOCAL_LDFLAGS_Release := \ -fuse-ld=gold \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,-O1 \ -Wl,--as-needed \ -Wl,--gc-sections \ diff --git a/system_wrappers/source/system_wrappers.target.linux-x86_64.mk b/system_wrappers/source/system_wrappers.target.linux-x86_64.mk index 336867f2..47d48a13 100644 --- a/system_wrappers/source/system_wrappers.target.linux-x86_64.mk +++ b/system_wrappers/source/system_wrappers.target.linux-x86_64.mk @@ -298,6 +298,7 @@ LOCAL_LDFLAGS_Debug := \ -fuse-ld=gold \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,--warn-shared-textrel \ -Wl,-O1 \ -Wl,--as-needed @@ -313,6 +314,7 @@ LOCAL_LDFLAGS_Release := \ -fuse-ld=gold \ -nostdlib \ -Wl,--no-undefined \ + -Wl,--exclude-libs=ALL \ -Wl,-O1 \ -Wl,--as-needed \ -Wl,--gc-sections \ |