diff options
| author | Florian Fainelli <florian@openwrt.org> | 2006-03-28 13:18:43 +0000 |
|---|---|---|
| committer | Florian Fainelli <florian@openwrt.org> | 2006-03-28 13:18:43 +0000 |
| commit | 630f299c6c68dc33ccbd0eb144899795dc50db79 (patch) | |
| tree | fde005dbc2cc204d6e09ec19dd4d9557dca9101a | |
| parent | 686eed9acd8f160ce561859a5d4bf27f521a21c0 (diff) | |
| download | upstream-630f299c6c68dc33ccbd0eb144899795dc50db79.tar.gz upstream-630f299c6c68dc33ccbd0eb144899795dc50db79.tar.bz2 upstream-630f299c6c68dc33ccbd0eb144899795dc50db79.zip | |
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
| -rw-r--r-- | openwrt/package/srelay/patches/01-cross_compile.patch | 12 |
1 files changed, 12 insertions, 0 deletions
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 00000000000..cda32e6aa7b --- /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 |
