summaryrefslogtreecommitdiff
path: root/package/srelay/patches/01-cross_compile.patch
blob: 03d7fa215fde9cdb649e588e64dd8020990ce757 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -urN srelay-0.4.6/configure srelay-0.4.6.new/configure
--- srelay-0.4.6.orig/configure	2003-04-14 07:36:15.000000000 +0200
+++ srelay-0.4.6/configure	2009-06-05 18:03:20.000000000 +0200
@@ -1395,7 +1395,7 @@ _ACEOF
 	;;
   linux*)
 	case "$build_cpu" in
-	  i*86)
+	  i*86 | mips* | powerpc* | sparc* | x86_64*)
 	    OS=LINUX
 	    cat >>confdefs.h <<\_ACEOF
 #define LINUX 1