summaryrefslogtreecommitdiff
path: root/packages/opkg/files/fix_endianness.patch
blob: 8632ce5658cae21198437f9755cb28973c23aeb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -urN opkg.orig/configure.ac opkg/configure.ac
--- opkg.orig/configure.ac	2008-03-20 13:29:09.000000000 +0100
+++ opkg/configure.ac	2008-03-25 09:39:52.000000000 +0100
@@ -94,7 +94,7 @@
 AC_CHECK_MEMBERS([struct stat.st_rdev])
 
 # Checks endianness
-AC_C_BIGENDIAN(ENDIAN_CFLAGS="-DWORDS_BIGENDIAN=1",)
+AC_C_BIGENDIAN(BIGENDIAN_CFLAGS="-DWORDS_BIGENDIAN=1",)
 AC_SUBST(BIGENDIAN_CFLAGS)
 
 # Don't do annoying tests that don't work when cross-compiling, just trust them.