summaryrefslogtreecommitdiff
path: root/xmake/scripts/base/compiler.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-06-16 11:38:50 +0800
committerruki <[email protected]>2015-06-16 11:38:50 +0800
commitb02e5fc9da96945b0be2452bdbbf5b9801e68b69 (patch)
tree5e0826167d0b63eea1721fbb17f4fca89525bde1 /xmake/scripts/base/compiler.lua
parent60bd22effb5664fefafabe69f5023301b6970e7b (diff)
modify the compiler and linker command
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 da1d46d2f..bbbc671b6 100644
--- a/xmake/scripts/base/compiler.lua
+++ b/xmake/scripts/base/compiler.lua
@@ -350,6 +350,7 @@ function compiler._flagnames(name)
elseif name == "mm" then flagnames = { "mxflags", "mflags" }
elseif name == "mxx" then flagnames = { "mxflags", "mxxflags" }
elseif name == "as" then flagnames = { "asflags" }
+ else
-- error
utils.error("unknown compiler: %s", name)
return