configure: Add -m32 flag for C++ compiler too.

This commit is contained in:
Alexandre Julliard 2007-08-01 12:13:41 +02:00
parent 6e0c574fb9
commit e06016fae0
3 changed files with 3 additions and 1 deletions

1
configure vendored
View File

@ -1967,6 +1967,7 @@ case $host in
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"
host_cpu="i386"

View File

@ -24,6 +24,7 @@ case $host in
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"
host_cpu="i386"

View File

@ -7,7 +7,7 @@ DEFS = \
-DAS="\"$(AS)\"" \
-DCC="\"$(CC)\"" \
-DCPP="\"@CPPBIN@\"" \
-DCXX="\"$(CXX)\"" \
-DCXX="\"@CXX@\"" \
-DLD="\"$(LD)\"" \
-DPRELINK="\"$(PRELINK)\""