diff options
| author | ruki <[email protected]> | 2023-01-29 12:52:44 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-01-29 12:52:44 +0800 |
| commit | 016638727a0eee359a24ac8baa4b287109e42878 (patch) | |
| tree | 02bed8aaf65a199fb698a451958eae62df6cff74 /xmake/modules | |
| parent | 70518298d211c91f39bbeb82a4a5db1fe9ca23f8 (diff) | |
improve strip for macosx
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/core/tools/gcc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua index b785b55dc..38695591d 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -83,7 +83,7 @@ function nf_strip(self, level, target) , all = "-s" } if self:is_plat("macosx", "iphoneos") then - maps.all = "-Wl,-x" + maps.all = {"-Wl,-x", "-Wl,-dead_strip"} end return maps[level] end |
