From 8a325b2af866300353e500e9693fc08991df52b7 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 16 May 2010 13:15:00 +0200 Subject: add preliminary support for my pcmcia smartcard reader --- target/linux/patches/2.6.33.3/cc-abstract.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 target/linux/patches/2.6.33.3/cc-abstract.patch (limited to 'target/linux/patches/2.6.33.3/cc-abstract.patch') 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 + -- cgit v1.2.3