[patch]: Fix multilib/non-multilib build for 4.6 for *-w64-mingw32

Kai Tietz ktietz70@googlemail.com
Sat May 1 12:58:00 GMT 2010


Hello,

I recently noticed that even for --disable-multilib the default
directories lib32/lib64 were used. This must be reasoned by some
recent changes. The following patch fixes this.

ChangeLog

        * config/i386/

Tested for x86_64-w64-mingw32 and i686-w64-mingw32. I'll apply it as
soon as my regression-tests are completed

Cheers,
Kai

-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination

Index: t-mingw-w64
===================================================================
--- t-mingw-w64 (revision 158958)
+++ t-mingw-w64 (working copy)
@@ -3,7 +3,7 @@

 MULTILIB_OPTIONS = m64/m32
 MULTILIB_DIRNAMES = 64 32
-MULTILIB_OSDIRNAMES = ../lib64 ../lib32
+MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo
$(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)

 # MinGW-specific parts of LIB_SPEC
 SHLIB_LC = -lmingw32 -lmingwex -lmoldname -lmsvcrt -luser32
-lkernel32 -ladvapi32 -lshell32



More information about the Gcc-patches mailing list