提交 4d529602 编写于 作者: L Levi Bard

Finish fixing build for 64bit hosts.

上级 fdfe8996
...@@ -49,9 +49,11 @@ if (not $skipbuild) ...@@ -49,9 +49,11 @@ if (not $skipbuild)
if ($debug) if ($debug)
{ {
$ENV{CFLAGS} = "-m32 -g -O0"; $ENV{CFLAGS} = "-m32 -g -O0";
$ENV{LDFLAGS} = "-m32";
} else } else
{ {
$ENV{CFLAGS} = "-m32 -Os" #optimize for size $ENV{CFLAGS} = "-m32 -Os"; #optimize for size
$ENV{LDFLAGS} = "-m32";
} }
#this will fail on a fresh working copy, so don't die on it. #this will fail on a fresh working copy, so don't die on it.
...@@ -74,6 +76,7 @@ if (not $skipbuild) ...@@ -74,6 +76,7 @@ if (not $skipbuild)
# unshift(@autogenparams, "--with-glib=embedded"); # unshift(@autogenparams, "--with-glib=embedded");
unshift(@autogenparams, "--disable-nls"); #this removes the dependency on gettext package unshift(@autogenparams, "--disable-nls"); #this removes the dependency on gettext package
unshift(@autogenparams, "--disable-parallel-mark"); #this causes crashes unshift(@autogenparams, "--disable-parallel-mark"); #this causes crashes
unshift(@autogenparams, "--build=i686-pc-linux-gnu"); #Force x86 build
# From Massi: I was getting failures in install_name_tool about space # From Massi: I was getting failures in install_name_tool about space
# for the commands being too small, and adding here things like # for the commands being too small, and adding here things like
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册