configure: Force -m32 option on x86_64 even if CC is already defined.
This commit is contained in:
parent
72cf4f3b0d
commit
0607637162
8
configure
vendored
8
configure
vendored
@ -2225,10 +2225,10 @@ case $host in
|
|||||||
x86_64*linux*)
|
x86_64*linux*)
|
||||||
if test "x$enable_win64" != "xyes"
|
if test "x$enable_win64" != "xyes"
|
||||||
then
|
then
|
||||||
test -n "$CC" || CC="gcc -m32"
|
CC="${CC:-gcc} -m32"
|
||||||
test -n "$CXX"|| CXX="g++ -m32"
|
CXX="${CXX:-g++} -m32"
|
||||||
test -n "$LD" || LD="ld -m elf_i386"
|
LD="${LD:-ld} -m elf_i386"
|
||||||
test -n "$AS" || AS="as --32"
|
AS="${AS:-as} --32"
|
||||||
host_cpu="i386"
|
host_cpu="i386"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
@ -84,10 +84,10 @@ case $host in
|
|||||||
x86_64*linux*)
|
x86_64*linux*)
|
||||||
if test "x$enable_win64" != "xyes"
|
if test "x$enable_win64" != "xyes"
|
||||||
then
|
then
|
||||||
test -n "$CC" || CC="gcc -m32"
|
CC="${CC:-gcc} -m32"
|
||||||
test -n "$CXX"|| CXX="g++ -m32"
|
CXX="${CXX:-g++} -m32"
|
||||||
test -n "$LD" || LD="ld -m elf_i386"
|
LD="${LD:-ld} -m elf_i386"
|
||||||
test -n "$AS" || AS="as --32"
|
AS="${AS:-as} --32"
|
||||||
host_cpu="i386"
|
host_cpu="i386"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user