diff --git a/makefile b/makefile index 757e26889a4..783dc9ccf3a 100644 --- a/makefile +++ b/makefile @@ -925,7 +925,7 @@ ifndef EMSCRIPTEN $(error EMSCRIPTEN is not set) endif ifndef COMPILE - $(SILENT) $(GENIE) $(PARAMS) --gcc=asmjs --gcc_version=4.8 gmake + $(SILENT) $(GENIE) $(PARAMS) --gcc=asmjs --gcc_version=4.9 gmake endif $(SILENT) $(MAKE) $(MAKEPARAMS) -C $(PROJECTDIR)/gmake-asmjs config=$(CONFIG) diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index 761257dc930..c4f460fe697 100644 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -59,7 +59,7 @@ project "zlib" kind "StaticLib" local version = str_to_version(_OPTIONS["gcc_version"]) - if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "clang") then + if _OPTIONS["gcc"]~=nil and (string.find(_OPTIONS["gcc"], "clang") or string.find(_OPTIONS["gcc"], "asmjs")) then configuration { "gmake" } if (version >= 30700) then buildoptions {