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