summaryrefslogtreecommitdiff
path: root/xmake/modules/lib/detect
diff options
context:
space:
mode:
authorruki <[email protected]>2017-06-26 22:26:33 +0800
committerruki <[email protected]>2017-06-26 22:26:33 +0800
commit08423656d08715670959b69c64957e9e9b1b3db1 (patch)
tree8739a1ef0ed686ab83239910681b70c0dea858ad /xmake/modules/lib/detect
parentf57db3954d227c29d15b68316e9b18838a55c3d4 (diff)
modify compiler and linker args
Diffstat (limited to 'xmake/modules/lib/detect')
-rw-r--r--xmake/modules/lib/detect/has_cxsnippets.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/lib/detect/has_cxsnippets.lua b/xmake/modules/lib/detect/has_cxsnippets.lua
index 44011b842..78665ac14 100644
--- a/xmake/modules/lib/detect/has_cxsnippets.lua
+++ b/xmake/modules/lib/detect/has_cxsnippets.lua
@@ -170,7 +170,7 @@ function main(csnippets, opt)
local ok = try
{
function ()
- compiler.compile(sourcefile, objectfile, nil, opt.target)
+ compiler.compile(sourcefile, objectfile, opt)
-- linker.link(objectfile, os.nuldev(), opt.target)
return true
end,