summaryrefslogtreecommitdiff
path: root/xmake/core/tool/compiler.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/tool/compiler.lua')
-rw-r--r--xmake/core/tool/compiler.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/tool/compiler.lua b/xmake/core/tool/compiler.lua
index 701983411..b76eaf743 100644
--- a/xmake/core/tool/compiler.lua
+++ b/xmake/core/tool/compiler.lua
@@ -272,7 +272,7 @@ function compiler:_addflags_from_platform(flags)
-- add flags
for _, flagname in ipairs(self:_flagnames()) do
- table.join2(flags, self:_mapflags(platform.get(flagname)))
+ table.join2(flags, platform.get(flagname))
end
-- add the includedirs flags