tags 496175 +patch
severity 496175 minor
thanks

This problem happens when klibc is built on a MIPS64 kernel without
changing the personality to 32 bit (uname is mips64 instead of mips).
The official buildd setup handles this, OTOH it would be nice if we
could abandon this trick one day. The appended patch changes
debian/rules to feed the proper value for the Debian mips/mipsel ports
to the upstream makefile.


Thiemo


--- klibc-1.5.14/debian/rules~  2008-08-11 15:36:07.000000000 +0100
+++ klibc-1.5.14/debian/rules   2008-09-24 19:11:00.000000000 +0100
@@ -18,6 +18,9 @@ endif
 ifeq ($(DEB_ARCH),powerpc)
 ARCH=ppc
 endif
+ifneq (,$(findstring $(DEB_ARCH),mips mipsel))
+DEB_MAKE_ENVVARS := ARCH=mips
+endif
 
 DEB_MAKE_INVOKE := make
 DEB_MAKE_CLEAN_TARGET := clean



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to