diff options
author | Waldemar <wbx@mirbsd.foo.bar> | 2009-12-19 14:25:32 +0059 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-19 14:34:06 +0100 |
commit | 0e40c7b459f3803bb44bca20304389c6999a2770 (patch) | |
tree | 7160ce1b531fc7cfaeeab7a04d5173f6d3fe9f8f /target/linux/patches/2.6.32/cc-abstract.patch | |
parent | 5279869f4930b421c7f27223ff2425d974d453f0 (diff) |
add more mirbsd compatibility patches
Diffstat (limited to 'target/linux/patches/2.6.32/cc-abstract.patch')
-rw-r--r-- | target/linux/patches/2.6.32/cc-abstract.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/patches/2.6.32/cc-abstract.patch b/target/linux/patches/2.6.32/cc-abstract.patch new file mode 100644 index 000000000..dc5d87f0d --- /dev/null +++ b/target/linux/patches/2.6.32/cc-abstract.patch @@ -0,0 +1,14 @@ +diff -Nur linux-2.6.32.orig/Makefile linux-2.6.32/Makefile +--- linux-2.6.32.orig/Makefile Thu Dec 3 04:50:57 2009 ++++ linux-2.6.32/Makefile Fri Dec 18 20:53:57 2009 +@@ -219,8 +219,8 @@ + else if [ -x /bin/bash ]; then echo /bin/bash; \ + else echo sh; fi ; fi) + +-HOSTCC = gcc +-HOSTCXX = g++ ++HOSTCC ?= gcc ++HOSTCXX ?= g++ + HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer + HOSTCXXFLAGS = -O2 + |