File: use-ldflags.patch

package info (click to toggle)
praat 6.4.47%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 237,816 kB
  • sloc: cpp: 1,464,323; ansic: 288,959; makefile: 976; python: 340; sh: 35
file content (17 lines) | stat: -rw-r--r-- 467 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Use LDFLAGS when linking the main praat executable
 This fixes the Lintian warning hardening-no-relro.
Author: Rafael Laboissiere <rafael@debian.org>
Forwarded: not-needed
Last-Update: 2021-03-07

--- praat-5.3.15.orig/Makefile
+++ praat-5.3.15/Makefile
@@ -28,7 +28,7 @@ all:
 		external/num/libnum.a \
 		external/vorbis/libvorbis.a \
 		external/opusfile/libopusfile.a \
-		$(LIBS)
+		$(LIBS) $(LDFLAGS)
 
 all-external:
 	$(MAKE) -C external/clapack