File: use-dpkg-buildflags.patch

package info (click to toggle)
gff2aplot 2.0-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,576 kB
  • sloc: perl: 5,378; ansic: 806; makefile: 121; javascript: 93; sh: 41
file content (15 lines) | stat: -rw-r--r-- 461 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Use build flags from environment (dpkg-buildflags).
 Necessary for hardening flags.
Author: Andreas Tille <tille@debian.org>
Date: Wed, 02 May 2012 10:20:01 +0200
--- gff2aplot-2.0.orig/src/ali2gff/Makefile
+++ gff2aplot-2.0/src/ali2gff/Makefile
@@ -22,7 +22,7 @@
 all : ali2gff
 
 ali2gff : ali2gff.c ali2gff.h Makefile
-	@$(CC) -o ali2gff ali2gff.c;
+	@$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o ali2gff ali2gff.c;
 	@chmod 755 ali2gff
 
 clean :