diff --git a/debian/patches/makefile.patch b/debian/patches/makefile.patch new file mode 100644 index 0000000..18aebea --- /dev/null +++ b/debian/patches/makefile.patch @@ -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 diff --git a/debian/patches/series b/debian/patches/series index 171dc9f..757c2a7 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,3 @@ 01-edge.8.diff upstream-svn4235.patch - +makefile.patch