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

Bug#41576: dpkg for mips + cross compile fix

Package: dpkg


I had to modify dpkg in order to make it cross compile (LOCALEDIR wasn't defined
correctly otherwise since dpkg-cross overrides CFLAGS).  I have also added mips
to the archtable.

I still have some problems though, I can't find where _LIBC should be defined.
As far as I know the define is only locally defined in glibc (not installed). Do
you know where it should be?


diff -ur dpkg- dpkg-
--- dpkg-	Sun Nov  1 17:01:27 1998
+++ dpkg-	Sun Jul 18 04:09:40 1999
@@ -24,3 +24,4 @@
 arm	arm	arm
 ppc	powerpc	powerpc
 powerpc	powerpc	powerpc
+mips	mips	mips
diff -ur dpkg- dpkg-
--- dpkg-	Sun Nov  1 17:06:12 1998
+++ dpkg-	Sun Jul 18 17:23:54 1999
@@ -8,17 +8,18 @@
 ## Various options
-CFLAGS			= @CFLAGS@ @CWARNS@ -g $(XCFLAGS) -DLOCALEDIR=\"$(localedir)\"
 DEFS			= -I$(top_srcdir)/include -I$(top_srcdir) -I$(srcdir) \
 			  -I$(top_builddir) -I$(top_builddir)/include -I. \
-			  -I$(top_srcdir)/intl -I$(top_builddir)/intl @DEFS@
+			  -I$(top_srcdir)/intl -I$(top_builddir)/intl \
+			  -DLOCALEDIR=\"$(localedir)\" @DEFS@
 ## Automake variables

Reply to: