summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/3rdparty.lua
diff options
context:
space:
mode:
author algestam <henrik@algestam.se>2019-10-20 16:07:48 +0200
committer Justin Kerk <dopefishjustin@gmail.com>2019-10-21 18:01:36 +0000
commit4d3a474283f97617095b0b7b1ff66e576bd3fb47 (patch)
treeccca7b0aef9ba5a6a924b92d5e1cc8b4ef2e2d0b /scripts/src/3rdparty.lua
parentc24d44ec62e6a293fbe9c69da2e35563304ddb5e (diff)
Fix bimg build for asmjs (nw)
Diffstat (limited to 'scripts/src/3rdparty.lua')
-rw-r--r--scripts/src/3rdparty.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua
index f4926be55e2..ccda4699fce 100644
--- a/scripts/src/3rdparty.lua
+++ b/scripts/src/3rdparty.lua
@@ -1209,8 +1209,8 @@ project "bimg"
configuration { }
- if _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="linux" or _OPTIONS["targetos"]=="windows" then
- if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "clang") then
+ if _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="linux" or _OPTIONS["targetos"]=="windows" or _OPTIONS["targetos"]=="asmjs" then
+ if _OPTIONS["gcc"]~=nil and (string.find(_OPTIONS["gcc"], "clang") or string.find(_OPTIONS["gcc"], "asmjs")) then
buildoptions_cpp {
"-Wno-unused-const-variable",
}