summaryrefslogtreecommitdiff
path: root/target/linux/patches/2.6.33.3/cc-abstract.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-05-27 17:19:33 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-05-27 17:19:33 +0200
commit9a841e2aed7b7e52958e5703215643dd3cf45ad0 (patch)
tree58b5a13611e2450d6f88eae256b43e3d6cbd5356 /target/linux/patches/2.6.33.3/cc-abstract.patch
parentc12b595892e3231182239998f6561bd6556a9947 (diff)
parent23eff1d5d3d4f22fc3d2fe9de026e3df3edf426d (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'target/linux/patches/2.6.33.3/cc-abstract.patch')
-rw-r--r--target/linux/patches/2.6.33.3/cc-abstract.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/patches/2.6.33.3/cc-abstract.patch b/target/linux/patches/2.6.33.3/cc-abstract.patch
new file mode 100644
index 000000000..dc5d87f0d
--- /dev/null
+++ b/target/linux/patches/2.6.33.3/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
+