Configured celt build to use sse2 on osx and x87 on windows and linux.

This matches how valve has the library built.
This commit is contained in:
Jordan Cristiano 2018-03-30 15:42:17 -04:00
parent 1801dce4b2
commit 24fb8be512
1 changed files with 10 additions and 0 deletions

View File

@ -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",