From 0a3588cdf56966a58decbbf62793dcc90217651c Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Tue, 27 Jun 2023 23:04:56 +0200 Subject: [PATCH] Makefile: Add -ffile-prefix-map to CC to avoid embedding build paths. Signed-off-by: Andre Noll --- Makefile | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.39.2