summaryrefslogtreecommitdiff
path: root/xmake/includes/check_cfuncs.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/includes/check_cfuncs.lua')
-rw-r--r--xmake/includes/check_cfuncs.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/includes/check_cfuncs.lua b/xmake/includes/check_cfuncs.lua
index 337a16fac..45b80519f 100644
--- a/xmake/includes/check_cfuncs.lua
+++ b/xmake/includes/check_cfuncs.lua
@@ -49,7 +49,7 @@ function check_cfuncs(definition, funcs, opt)
if opt.cflags then
add_cflags(opt.cflags)
end
- if opt.cflags then
+ if opt.cxflags then
add_cxflags(opt.cxflags)
end
if opt.defines then