From: Vagrant Cascadian Date: Tue, 27 Jun 2023 21:04:56 +0000 (+0200) Subject: Makefile: Add -ffile-prefix-map to CC to avoid embedding build paths. X-Git-Tag: v1.0.4~4 X-Git-Url: http://git.tuebingen.mpg.de/?p=lopsub.git;a=commitdiff_plain;h=0a3588cdf56966a58decbbf62793dcc90217651c Makefile: Add -ffile-prefix-map to CC to avoid embedding build paths. Signed-off-by: Andre Noll --- diff --git a/Makefile b/Makefile index 548c96f..97d135a 100644 --- 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)