summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-01-29 12:57:33 +0800
committerruki <[email protected]>2023-01-29 12:57:33 +0800
commitc2dffcc808eea9bd15adc5842b6a2636a5138409 (patch)
tree0c5777cd3683ecfeb98b2b600eb173aea2588326
parent016638727a0eee359a24ac8baa4b287109e42878 (diff)
improve configure
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 356699a45..ed18027db 100755
--- a/configure
+++ b/configure
@@ -813,7 +813,7 @@ _get_abstract_flag_for_gcc_clang() {
flag="-Wl,-S"
elif test_eq "${value}" "all"; then
if is_plat "macosx"; then
- flag="-Wl,-x"
+ flag="-Wl,-x -Wl,-dead_strip"
else
flag="-s"
fi