0001-Make-the-Makefile-more-cross-compiler-friendly.patch 642 B

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