From 4148447f3af189595e6344e134a724311fa23063 Mon Sep 17 00:00:00 2001 From: arbee Date: Tue, 2 Oct 2018 21:04:28 -0400 Subject: [PATCH] Fix compiling with SDL 2.0.8 and later on macOS [R. Belmont] --- scripts/toolchain.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua index 7a8a5c43a19..f270d3f69b8 100644 --- a/scripts/toolchain.lua +++ b/scripts/toolchain.lua @@ -1077,7 +1077,7 @@ function toolchain(_buildDir, _subDir) configuration { "osx*", "x64" } objdir (_buildDir .. "osx_clang" .. "/obj") buildoptions { - "-m64", + "-m64", "-DHAVE_IMMINTRIN_H=1", } configuration { "osx*", "x64", "Release" }