File: 0001-Makefile-Pass-debug-prefix-map-to-avoid-embedding-bu.patch

package info (click to toggle)
wrapsrv 1.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 144 kB
  • sloc: ansic: 804; makefile: 79
file content (20 lines) | stat: -rw-r--r-- 590 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: 2022-09-27
Subject: Makefile: Pass --debug-prefix-map to avoid embedding build directory.
Bug-Debian: https://bugs.debian.org/1020866

https://tests.reproducible-builds.org/debian/issues/unstable/build_path_captured_in_assembly_objects_issue.html
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 CC = gcc
 WARN = -Wall -Wextra -Werror
-CFLAGS = -O2 -g $(WARN)
+CFLAGS = -O2 -g --debug-prefix-map=$(CURDIR)=. $(WARN)
 INCLUDE =
 LDFLAGS = -lresolv
 DESTDIR ?=