1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-29 18:36:14 +02:00
openwrt-xburst/openwrt/package/srelay/patches/01-cross_compile.patch
florian f83f6b641d Add cross-compilation patch to have LINUX defined, especially when build system is not x86
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-03-28 13:18:43 +00:00

13 lines
364 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
@@ -1395,7 +1395,7 @@
;;
linux*)
case "$build_cpu" in
- i*86)
+ i*86 | mips* | powerpc* | sparc*)
OS=LINUX
cat >>confdefs.h <<\_ACEOF
#define LINUX 1