Commit 06076371 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 72cf4f3b
......@@ -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
;;
......
......@@ -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
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment