summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-03 23:27:50 +0800
committerruki <[email protected]>2020-04-03 14:47:05 +0800
commit980f30d65616b9ba527df9ce1b5c1643c3d75f22 (patch)
treef7e85b5473d2a02e0d368eab40952c3ee574ce4c
parent4550e5d123d72e88ed3b8771453e883907f5ee8e (diff)
use table for hidden
-rw-r--r--xmake/modules/core/tools/gcc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua
index 8e74686cf..6e96e03f3 100644
--- a/xmake/modules/core/tools/gcc.lua
+++ b/xmake/modules/core/tools/gcc.lua
@@ -99,7 +99,7 @@ function nf_symbol(self, level)
, hidden = "-fvisibility=hidden"
}
if self:has_flags("-fvisibility-inlines-hidden", "cxflags") then
- maps.hidden = maps.hidden .. " -fvisibility-inlines-hidden"
+ maps.hidden = {maps.hidden, "-fvisibility-inlines-hidden"}
end
_g.symbol_maps = maps
end