Bug#604774: gcc-4.4 (cross): patch fixing powerpc builds
Tags: patch
thanks
Applying this patch i was able to build gcc-4.4 as no-biarch
It would also be nice if cross-builds do not depend on gcc-4.4-source
(unless it is needed by something else)
--- gcc-4.4/gcc-4.4-4.4.5/debian/rules2 2010-11-24 10:15:44.000000000 +0000
+++ gcc-4.4x/gcc-4.4-4.4.5/debian/rules2 2010-11-24
10:21:44.728834207 +0000
@@ -433,7 +433,8 @@
--with-headers=/$(PF)/$(DEB_TARGET_GNU_TYPE)/include \
--with-libs=/$(PF)/$(DEB_TARGET_GNU_TYPE)/lib
endif
- SET_CROSS_LIB_PATH =
LD_LIBRARY_PATH=$${LD_LIBRARY_PATH:+$$LD_LIBRARY_PATH:}/$(PF)/$(DEB_TARGET_GNU_TYPE)/lib
+ # XXX AtchA! Hack not needed
+ #SET_CROSS_LIB_PATH =
LD_LIBRARY_PATH=$${LD_LIBRARY_PATH:+$$LD_LIBRARY_PATH:}/$(PF)/$(DEB_TARGET_GNU_TYPE)/lib
endif
ifeq ($(with_bootstrap),)
@@ -1992,7 +1993,8 @@
endif
ifeq ($(DEB_TARGET_ARCH),powerpc)
: # ppc 64bit build slaps libgcc and libstdc++ to powerpc64-linux-gnu
- cp -a $(d)/$(PF)/powerpc64-linux-gnu/lib64/*
$(d)/$(PF)/powerpc-linux-gnu/lib64/
+ # XXX FIXME for biarch builds
+ : #cp -a $(d)/$(PF)/powerpc64-linux-gnu/lib64/*
$(d)/$(PF)/powerpc-linux-gnu/lib64/
endif
endif
--
Héctor Orón
"Our Sun unleashes tremendous flares expelling hot gas into the Solar
System, which one day will disconnect us."
-- Day DVB-T stop working nicely
Video flare: http://antwrp.gsfc.nasa.gov/apod/ap100510.html
Reply to: