summaryrefslogtreecommitdiff
path: root/xmake/scripts/base/compiler.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts/base/compiler.lua')
-rw-r--r--xmake/scripts/base/compiler.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/scripts/base/compiler.lua b/xmake/scripts/base/compiler.lua
index 50bf38c5c..23378f061 100644
--- a/xmake/scripts/base/compiler.lua
+++ b/xmake/scripts/base/compiler.lua
@@ -32,6 +32,7 @@ local table = require("base/table")
local string = require("base/string")
local config = require("base/config")
local tools = require("tools/tools")
+local platform = require("platform/platform")
-- map gcc flag to the given compiler flag
function compiler._mapflag(module, flag)