fix util-linux compile on avr32

SVN-Revision: 7860
master
Felix Fietkau 18 years ago
parent 47e575eadb
commit 5bee8e99d0
  1. 2
      package/util-linux/patches/801-cris_avr32_label.patch

@ -5,7 +5,7 @@
#define BSD_LINUX_BOOTDIR "/usr/ucb/mdec" #define BSD_LINUX_BOOTDIR "/usr/ucb/mdec"
-#if defined (i386) || defined (__sparc__) || defined (__arm__) || defined (__mips__) || defined (__s390__) || defined (__sh__) || defined(__x86_64__) -#if defined (i386) || defined (__sparc__) || defined (__arm__) || defined (__mips__) || defined (__s390__) || defined (__sh__) || defined(__x86_64__)
+#if defined (i386) || defined (__sparc__) || defined (__arm__) || defined (__mips__) || defined (__s390__) || defined (__sh__) || defined(__x86_64__) || defined (__cris__) +#if defined (i386) || defined (__sparc__) || defined (__arm__) || defined (__mips__) || defined (__s390__) || defined (__sh__) || defined(__x86_64__) || defined (__cris__) || defined(__avr32__)
#define BSD_LABELSECTOR 1 #define BSD_LABELSECTOR 1
#define BSD_LABELOFFSET 0 #define BSD_LABELOFFSET 0
#elif defined (__alpha__) || defined (__powerpc__) || defined (__ia64__) || defined (__hppa__) #elif defined (__alpha__) || defined (__powerpc__) || defined (__ia64__) || defined (__hppa__)
Loading…
Cancel
Save