compile fix
authorMike Baker <mbm@openwrt.org>
Wed, 6 Sep 2006 18:59:32 +0000 (18:59 +0000)
committerMike Baker <mbm@openwrt.org>
Wed, 6 Sep 2006 18:59:32 +0000 (18:59 +0000)
SVN-Revision: 4765

net/srelay/patches/01-cross_compile.patch

index cda32e6aa7b6e58e8ada1e1b045c72b0ea2c3c6b..8f5941e5a37ca54776078a451af890c0ab84eec8 100644 (file)
@@ -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