From 486c8a2f6a614646419a74b0ed627456844dee39 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Tue, 27 Sep 2022 01:14:43 +0000 Subject: [PATCH] Makefile: Add -ffile-prefix-map to CFLAGS to avoid embedding build paths. https://reproducible-builds.org/docs/build-path/ Signed-off-by: Matthew Vernon --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3b998b8..6365c54 100644 --- a/Makefile +++ b/Makefile @@ -88,7 +88,7 @@ DESTMAN1 = $(DESTMAN)/man1 # I use environment variables for these... #CFLAGS = -g -CFLAGS = -Wall -Wformat -Werror -Wshadow -W -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wbad-function-cast -Wpointer-arith -g2 -ggdb -DDESTLIB=\"$(DESTLIB)\" +CFLAGS = -Wall -Wformat -Werror -Wshadow -W -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wbad-function-cast -Wpointer-arith -g2 -ggdb -DDESTLIB=\"$(DESTLIB)\" -ffile-prefix-map=$(CURDIR)=. LDFLAGS = LDADD = -lreadline -- 2.30.2