File: trim-file-prefix.patch

package info (click to toggle)
htslib 1.21%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 10,940 kB
  • sloc: ansic: 68,108; sh: 3,580; perl: 2,021; makefile: 887; 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