patch Makefile to import $LDFLAGS and $CPPFLAGS into $CFLAGS
This commit is contained in:
parent
aafb792a59
commit
8a7c5b28bb
2 changed files with 14 additions and 1 deletions
13
debian/patches/makefile.patch
vendored
Normal file
13
debian/patches/makefile.patch
vendored
Normal 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
|
2
debian/patches/series
vendored
2
debian/patches/series
vendored
|
@ -1,3 +1,3 @@
|
||||||
01-edge.8.diff
|
01-edge.8.diff
|
||||||
upstream-svn4235.patch
|
upstream-svn4235.patch
|
||||||
|
makefile.patch
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue