Package: praat / 6.1.38-1

use-ldflags.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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-01-04

--- praat-5.3.15.orig/Makefile
+++ praat-5.3.15/Makefile
@@ -27,8 +27,8 @@ all:
 		external/clapack/libclapack.a \
 		external/gsl/libgsl.a \
 		external/vorbis/libvorbis.a \
-		$(LIBS)
-		#external/opusfile/libopusfile.a \
+		$(LIBS) $(LDFLAGS) \
+ 		external/opusfile/libopusfile.a
 
 all-external:
 	$(MAKE) -C external/clapack