configure: Force -m32 option on x86_64 even if CC is already defined.

oldstable
Alexandre Julliard 2008-10-20 11:37:08 +02:00
parent 72cf4f3b0d
commit 0607637162
2 changed files with 8 additions and 8 deletions

8
configure vendored
View File

@ -2225,10 +2225,10 @@ case $host in
x86_64*linux*)
if test "x$enable_win64" != "xyes"
then
test -n "$CC" || CC="gcc -m32"
test -n "$CXX"|| CXX="g++ -m32"
test -n "$LD" || LD="ld -m elf_i386"
test -n "$AS" || AS="as --32"
CC="${CC:-gcc} -m32"
CXX="${CXX:-g++} -m32"
LD="${LD:-ld} -m elf_i386"
AS="${AS:-as} --32"
host_cpu="i386"
fi
;;

View File

@ -84,10 +84,10 @@ case $host in
x86_64*linux*)
if test "x$enable_win64" != "xyes"
then
test -n "$CC" || CC="gcc -m32"
test -n "$CXX"|| CXX="g++ -m32"
test -n "$LD" || LD="ld -m elf_i386"
test -n "$AS" || AS="as --32"
CC="${CC:-gcc} -m32"
CXX="${CXX:-g++} -m32"
LD="${LD:-ld} -m elf_i386"
AS="${AS:-as} --32"
host_cpu="i386"
fi
;;