Module: wine Branch: master Commit: e06016fae0a638d01cf2498bcdbddccbfeca981e URL: http://source.winehq.org/git/wine.git/?a=commit;h=e06016fae0a638d01cf2498bcd...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Aug 1 12:13:41 2007 +0200
configure: Add -m32 flag for C++ compiler too.
---
configure | 1 + configure.ac | 1 + tools/winegcc/Makefile.in | 2 +- 3 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/configure b/configure index 14b4aa6..b590457 100755 --- a/configure +++ b/configure @@ -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" diff --git a/configure.ac b/configure.ac index 9a1ec62..7f52da6 100644 --- a/configure.ac +++ b/configure.ac @@ -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" diff --git a/tools/winegcc/Makefile.in b/tools/winegcc/Makefile.in index c2640e2..31c3a5b 100644 --- a/tools/winegcc/Makefile.in +++ b/tools/winegcc/Makefile.in @@ -7,7 +7,7 @@ DEFS = \ -DAS=""$(AS)"" \ -DCC=""$(CC)"" \ -DCPP=""@CPPBIN@"" \ - -DCXX=""$(CXX)"" \ + -DCXX=""@CXX@"" \ -DLD=""$(LD)"" \ -DPRELINK=""$(PRELINK)""