patch Makefile to import $LDFLAGS and $CPPFLAGS into $CFLAGS

This commit is contained in:
Rolf Leggewie 2012-12-28 02:55:11 +01:00
parent aafb792a59
commit 8a7c5b28bb
2 changed files with 14 additions and 1 deletions

13
debian/patches/makefile.patch vendored Normal file
View file

@ -0,0 +1,13 @@
diff --git a/Makefile b/Makefile
index 485adc3..191845a 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ WARN?=-Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs
PLATOPTS_SPARC64=-mcpu=ultrasparc -pipe -fomit-frame-pointer -ffast-math -finline-functions -fweb -frename-registers -mapp-regs
-CFLAGS+=$(DEBUG) $(WARN) $(OPTIONS) $(PLATOPTS)
+CFLAGS+=$(DEBUG) $(WARN) $(LDFLAGS) $(CPPFLAGS) $(OPTIONS) $(PLATOPTS)
INSTALL=install
MKDIR=mkdir -p

View file

@ -1,3 +1,3 @@
01-edge.8.diff
upstream-svn4235.patch
makefile.patch