This is an automated email from the git hooks/post-receive script. mali-guest pushed a commit to branch master in repository king-probe.
commit 2ee7e4d4af01a6f718f4007cd0f457eaf0cf28ab Author: Malihe Asemani <[email protected]> Date: Tue Sep 1 17:37:41 2015 +0000 Add CFLAGS and LDFLAGS to gcc compiler --- debian/patches/compiler_flags.patch | 24 ++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 25 insertions(+) diff --git a/debian/patches/compiler_flags.patch b/debian/patches/compiler_flags.patch new file mode 100644 index 0000000..d9669b4 --- /dev/null +++ b/debian/patches/compiler_flags.patch @@ -0,0 +1,24 @@ +Description: Adding default CFLAGS and LDFLAGS to gcc + This patch ensures propagation of CFLAGS and LDFLAGS + to gcc compiler. So, it avoids Lintian warns about + 'hardening-no-relro'. +Author: Malihe Asemani <[email protected]> +Origin: upstream, http://kinemage.biochem.duke.edu/software/probe.php +--- king-probe.orig/Makefile.linux ++++ king-probe/Makefile.linux +@@ -1,5 +1,5 @@ + MACHINEFLAGS = +-CFLAGS = $(MACHINEFLAGS) ++CFLAGS += $(MACHINEFLAGS) + LFLAGS = -lm $(MACHINEFLAGS) + OBJLIST = dots.o abin.o readPDBrecs.o geom3d.o utility.o select.o \ + parse.o atomprops.o stdconntable.o autobondrot.o hybrid_36_c.o +@@ -8,7 +8,7 @@ + cc -c $*.c $(CFLAGS) + + probe: probe.o $(OBJLIST) +- cc -o $@ probe.o $(OBJLIST) $(LFLAGS) ++ cc -o $@ probe.o $(OBJLIST) $(LFLAGS) $(LDFLAGS) + + clean: + @rm -f *.o *.ckp diff --git a/debian/patches/series b/debian/patches/series index cc1eda2..ee6c0a0 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ fix_build_issue.patch +compiler_flags.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/king-probe.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
