summaryrefslogtreecommitdiffstats
path: root/patches/sp-oops-extract-0.0.7/0001-Make-the-Makefile-more-cross-compiler-friendly.patch
blob: 02504d88089d219ff2d1173386a7d6d9f5af8b68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: Bernhard Walle <walle@corscience.de>
Date: Wed, 21 Mar 2012 15:55:06 +0100
Subject: [PATCH] Make the Makefile more cross-compiler friendly

Signed-off-by: Bernhard Walle <walle@corscience.de>
---
 src/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Makefile b/src/Makefile
index cf5b550..e05eb1f 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -9,4 +9,4 @@ distclean: clean
 	$(RM) $(TARGETS)
 		
 sp-oops-extract: oopslog.c
-	gcc -Wall -s -o $@ $^
+	$(CC) $(LDFLAGS) $(CPPFLAGS) $(CFLAGS) -Wall -o $@ $^