packages/net/srelay/patches/001-cross_compile.patch
olli 45012a8bdb [Packages] net/srelay: Fix compilation
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-28 12:27:19 +00:00

16 lines
421 B
Diff

Index: srelay-0.4.6/configure
===================================================================
--- srelay-0.4.6.orig/configure 2008-02-28 13:21:29.000000000 +0100
+++ srelay-0.4.6/configure 2008-02-28 13:21:30.000000000 +0100
@@ -1394,8 +1394,8 @@
;;
linux*)
- case "$build_cpu" in
- i*86)
+ case "$host_cpu" in
+ i*86|mips*|powerpc*|sparc*)
OS=LINUX
cat >>confdefs.h <<\_ACEOF
#define LINUX 1