This commit is contained in:
def 2015-01-10 01:18:08 +01:00
parent 99a77bdcbf
commit c0f309a82e

12
bam.lua
View file

@ -163,8 +163,8 @@ function build(settings)
--settings.objdir = Path("objs") --settings.objdir = Path("objs")
settings.cc.Output = Intermediate_Output settings.cc.Output = Intermediate_Output
settings.cc.flags:Add("-m32") --settings.cc.flags:Add("-m32")
settings.link.flags:Add("-m32") --settings.link.flags:Add("-m32")
cflags = os.getenv("CFLAGS") cflags = os.getenv("CFLAGS")
if cflags then if cflags then
@ -292,11 +292,11 @@ function build(settings)
client_settings.link.libs:Add("opus") client_settings.link.libs:Add("opus")
client_settings.link.libs:Add("ogg") client_settings.link.libs:Add("ogg")
--if arch == "amd64" then if arch == "amd64" then
-- client_settings.link.libpath:Add("other/opus/linux/lib64") client_settings.link.libpath:Add("other/opus/linux/lib64")
--else else
client_settings.link.libpath:Add("other/opus/linux/lib32") client_settings.link.libpath:Add("other/opus/linux/lib32")
--end end
if string.find(settings.config_name, "sql") then if string.find(settings.config_name, "sql") then
if arch == "amd64" then if arch == "amd64" then