[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

FIX: gcc-3.4.2 cross-compiler for PowerPC



Hi Nikita,

I've discovered today a little problem while creating a PowerPC
cross-compiler on i386 for gcc-3.4.2. The fix is easy and
comprehensible. See atached diff. I hope you will review it and
post a bug report against the gcc packages. Thx!

-- 
Raphael Bossek

--- gcc-3.4-3.4.2/debian/rules2.orig	2004-12-25 14:11:02.000000000 +0100
+++ gcc-3.4-3.4.2/debian/rules2	2004-12-25 13:26:54.000000000 +0100
@@ -902,8 +902,10 @@
   include debian/rules.d/binary-libstdcxx-cross.mk
 endif
 
-ifeq ($(DEB_TARGET_GNU_CPU),powerpc)
-  include debian/rules.d/binary-nof-cross.mk
+ifeq ($(with_libnof),yes)
+  ifeq ($(DEB_TARGET_GNU_CPU),powerpc)
+    include debian/rules.d/binary-nof-cross.mk
+  endif
 endif
 
 ifeq ($(with_cdev),yes)

Attachment: pgpdxlNyts8wZ.pgp
Description: PGP signature


Reply to: