]> git.tue.mpg.de Git - lopsub.git/commitdiff
Makefile: Add -ffile-prefix-map to CC to avoid embedding build paths.
authorVagrant Cascadian <vagrant@reproducible-builds.org>
Tue, 27 Jun 2023 21:04:56 +0000 (23:04 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Tue, 27 Jun 2023 21:05:32 +0000 (23:05 +0200)
Signed-off-by: Andre Noll <maan@tuebingen.mpg.de>
Makefile

index 548c96ff0e6298e29d8f247940a4f446e6757d35..97d135a069773da221e44ade4915fd194c83602d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -28,6 +28,8 @@ INSTALL := install
 GZIP := gzip -fn9
 ZCAT := zcat
 
+CC += -ffile-prefix-map=$(CURDIR)=.
+
 dummy != $(M4) /dev/null || printf 'failed'
 ifeq ($(dummy), failed)
 $(error m4 is required to build this package)