summaryrefslogtreecommitdiff
path: root/target/linux/patches/2.6.35/cc-abstract.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-08-05 22:49:12 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-08-05 22:49:12 +0200
commita2e96ddb9519a2f40857f11501b88e465d25082d (patch)
tree10defcae7e5d0452ca35d7d43e8fac59f5038064 /target/linux/patches/2.6.35/cc-abstract.patch
parentdd48d0019b7f5442cef387b5754a276b33f8e52f (diff)
parent91024313d470314ecd49ecc0a9cdd80573b24139 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'target/linux/patches/2.6.35/cc-abstract.patch')
-rw-r--r--target/linux/patches/2.6.35/cc-abstract.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/patches/2.6.35/cc-abstract.patch b/target/linux/patches/2.6.35/cc-abstract.patch
new file mode 100644
index 000000000..dc5d87f0d
--- /dev/null
+++ b/target/linux/patches/2.6.35/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
+