patches/gcc/4.3.2/170-libiberty-pic.patch
author |
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> |
|
Wed Jan 26 00:04:41 2011 +0100 (2011-01-26) |
branch | 1.9 |
changeset 2291 |
075510bba768 |
parent 747 |
d3e603e7c17c
|
permissions |
-rw-r--r-- |
libc/mingw: do not remove support symlink
Under mingw, it seems that there is a mix between the traditional /usr
directory, and a similar-purposed /mingw directory (both in the sysroot).
Currently, we create /mingw as a symlink to /usr, and we removed it in
the libc-finish step.
Unfortunately, this prevents the pre-processor to find the headers.
Keeping the symlink makes it magically work...
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from fa5c70b11fecf390c78780fe8f8ba0a836a59e92)
yann@552
|
1 |
Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.1/gentoo/51_all_gcc-3.4-libiberty-pic.patch
|
yann@552
|
2 |
diff -durN gcc-4.3.1.orig/libiberty/Makefile.in gcc-4.3.1/libiberty/Makefile.in
|
yann@552
|
3 |
--- gcc-4.3.1.orig/libiberty/Makefile.in 2007-07-25 08:26:45.000000000 +0200
|
yann@552
|
4 |
+++ gcc-4.3.1/libiberty/Makefile.in 2008-06-10 14:58:02.000000000 +0200
|
yann@552
|
5 |
@@ -225,6 +225,7 @@
|
yann@552
|
6 |
$(AR) $(AR_FLAGS) $(TARGETLIB) \
|
yann@552
|
7 |
$(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
|
yann@552
|
8 |
$(RANLIB) $(TARGETLIB); \
|
yann@552
|
9 |
+ cp $(TARGETLIB) ../ ; \
|
yann@552
|
10 |
cd ..; \
|
yann@552
|
11 |
else true; fi
|
yann@552
|
12 |
|