On 24.11.2010 11:22, Hector Oron wrote:
Tags: patch
thanks

Applying this patch i was able to build gcc-4.4 as no-biarch

why is it so difficult to send patches which don't break other configurations?

Index: debian/rules2
===================================================================
--- debian/rules2       (revision 4936)
+++ debian/rules2       (working copy)
@@ -2000,12 +2000,12 @@
 #  endif

 ifeq ($(DEB_CROSS),yes)
-  ifeq ($(DEB_TARGET_ARCH),s390)
+  ifeq ($(DEB_TARGET_ARCH)-$(biarch64),s390-yes)
        : # s390 64bit stuff happens to be in s390x-linux-gnu/lib64/
        mkdir -p $(d)/$(PF)/s390-linux-gnu/lib64
        cp -a $(d)/$(PF)/s390x-linux-gnu/lib64/* 
$(d)/$(PF)/s390-linux-gnu/lib64/
   endif
-  ifeq ($(DEB_TARGET_ARCH),powerpc)
+  ifeq ($(DEB_TARGET_ARCH)-$(biarch64),powerpc-yes)
        : # 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/
   endif



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to