From 24fb8be51288c7c781c4123759673220a4df3245 Mon Sep 17 00:00:00 2001 From: Jordan Cristiano Date: Fri, 30 Mar 2018 15:42:17 -0400 Subject: [PATCH] Configured celt build to use sse2 on osx and x87 on windows and linux. This matches how valve has the library built. --- premake/celt.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/premake/celt.lua b/premake/celt.lua index 4d56a4a..c1740c0 100644 --- a/premake/celt.lua +++ b/premake/celt.lua @@ -7,6 +7,16 @@ group "external" language "C" location (_ACTION .. "/" .. project().name) + -- disable sse and sse2 for valve binary compat. + -- the osx build of vaudio_celt uses sse2 + configuration "windows" + buildoptions "/arch:IA32" + configuration "linux" + buildoptions "-mfpmath=387" + configuration "macosx" + buildoptions { "-mfpmath=sse", "-msse2" } + configuration {} + defines { "CUSTOM_MODES",