packages/net/srelay/patches/001-cross_compile.patch
pavlov 14c1a8db5f patch file cleanup... ick.. kaloz you owe me some love
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-05 01:34:12 +00:00

15 lines
382 B
Diff

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
@@ -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