[med-svn] [nut-nutrition] 05/09: Actually fix the no-relro lintian message

Iain Learmonth irl-guest at moszumanska.debian.org
Fri Jun 6 23:44:07 UTC 2014


This is an automated email from the git hooks/post-receive script.

irl-guest pushed a commit to branch master
in repository nut-nutrition.

commit e6e52b9a5624ec8ece6f0682d51b5a70116ae36f
Author: Iain R. Learmonth <irl at fsfe.org>
Date:   Sat Jun 7 00:30:15 2014 +0100

    Actually fix the no-relro lintian message
---
 debian/patches/import_ldflags.patch | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/debian/patches/import_ldflags.patch b/debian/patches/import_ldflags.patch
index 7d39cfe..2fa05c5 100644
--- a/debian/patches/import_ldflags.patch
+++ b/debian/patches/import_ldflags.patch
@@ -32,3 +32,12 @@ Description: Added hardening flags to build process
  
  SOURCE := $(wildcard *.c)
  OBJS := $(patsubst %.c,%.o,$(SOURCE))
+@@ -39,7 +44,7 @@
+ all: nut $(FLTK_NUT)
+ 
+ nut:	$(OBJS)
+-	$(CC) $(OPT) $(LDFLAGS) -o $(EXECUTABLE) $(OBJS) $(LIBS)
++	$(CC) $(OPT) $(CFLAGS) $(LDFLAGS) -o $(EXECUTABLE) $(OBJS) $(LIBS)
+ 
+ ifeq ($(HAVE_FLTK),1)
+ $(FLTK_NUT):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/nut-nutrition.git



More information about the debian-med-commit mailing list