From 6ca46b851c8e2b7ea9f269d4365d63f662a4e585 Mon Sep 17 00:00:00 2001 From: mbm Date: Wed, 6 Sep 2006 18:59:32 +0000 Subject: [PATCH] compile fix git-svn-id: svn://svn.openwrt.org/openwrt/packages@4765 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/srelay/patches/01-cross_compile.patch | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/net/srelay/patches/01-cross_compile.patch b/net/srelay/patches/01-cross_compile.patch index cda32e6aa..8f5941e5a 100644 --- a/net/srelay/patches/01-cross_compile.patch +++ b/net/srelay/patches/01-cross_compile.patch @@ -1,12 +1,14 @@ diff -urN srelay-0.4.6/configure srelay-0.4.6.new/configure --- srelay-0.4.6/configure 2003-04-14 07:36:15.000000000 +0200 +++ srelay-0.4.6.new/configure 2006-03-28 15:11:42.000000000 +0200 -@@ -1395,7 +1395,7 @@ +@@ -1394,8 +1394,8 @@ + ;; linux*) - case "$build_cpu" in +- case "$build_cpu" in - i*86) -+ i*86 | mips* | powerpc* | sparc*) ++ case "$host_cpu" in ++ i*86|mips*|powerpc*|sparc*) OS=LINUX cat >>confdefs.h <<\_ACEOF #define LINUX 1