From 22d9def11266afbc7a206ee11e262689b952ebe9 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Tue, 28 Mar 2006 13:18:43 +0000 Subject: [PATCH] Add cross-compilation patch to have LINUX defined, especially when build system is not x86 SVN-Revision: 3519 --- .../package/srelay/patches/01-cross_compile.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 openwrt/package/srelay/patches/01-cross_compile.patch diff --git a/openwrt/package/srelay/patches/01-cross_compile.patch b/openwrt/package/srelay/patches/01-cross_compile.patch new file mode 100644 index 0000000000..cda32e6aa7 --- /dev/null +++ b/openwrt/package/srelay/patches/01-cross_compile.patch @@ -0,0 +1,12 @@ +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 -- 2.30.2