Skip to content
Snippets Groups Projects
Commit 06076371 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

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

parent 72cf4f3b
No related branches found
No related tags found
No related merge requests found
...@@ -2225,10 +2225,10 @@ case $host in ...@@ -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 ...@@ -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
;; ;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment