configure: Force -m32 option on x86_64 even if CC is already defined.
This commit is contained in:
parent
72cf4f3b0d
commit
0607637162
|
@ -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
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue