board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / sp-oops-extract / 0001-Make-the-Makefile-more-cross-compiler-friendly.patch
blob67153c27bc4f599ba939d66cee5ff267d21284dd
1 Fetch from: https://github.com/Schischu/ptxdist_sh/tree/master/patches/sp-oops-extract-0.0.7
3 From: Bernhard Walle <walle@corscience.de>
4 Date: Wed, 21 Mar 2012 15:55:06 +0100
5 Subject: [PATCH] Make the Makefile more cross-compiler friendly
7 Signed-off-by: Bernhard Walle <walle@corscience.de>
8 ---
9 src/Makefile | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
12 diff --git a/src/Makefile b/src/Makefile
13 index cf5b550..e05eb1f 100644
14 --- a/src/Makefile
15 +++ b/src/Makefile
16 @@ -9,4 +9,4 @@ distclean: clean
17 $(RM) $(TARGETS)
19 sp-oops-extract: oopslog.c
20 - gcc -Wall -s -o $@ $^
21 + $(CC) $(LDFLAGS) $(CPPFLAGS) $(CFLAGS) -Wall -o $@ $^