File: trim-file-prefix.patch

package info (click to toggle)
htslib 1.22.1%2Bds2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,304 kB
  • sloc: ansic: 74,360; perl: 2,205; makefile: 948; sh: 408; cpp: 40
file content (20 lines) | stat: -rw-r--r-- 567 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: trim build path from config_vars.
 This is done in hope to improve build reproducibility.
Author: Étienne Mollier <emollier@debian.org>
Forwarded: no
Last-Update: 2022-10-19
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- htslib.orig/Makefile
+++ htslib/Makefile
@@ -186,7 +186,9 @@
 	'$(hts_cppflags_escaped)' \
 	'$(hts_cflags_escaped)' \
 	'$(hts_ldflags_escaped)' \
-	'$(hts_libs_escaped)' > $@
+	'$(hts_libs_escaped)' \
+	| sed 's/-ffile-prefix-map=[^ ]*=.//' \
+	> $@
 
 .SUFFIXES: .bundle .c .cygdll .dll .o .pico .so