From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: 2022-09-27
Bug-Debian: https://bugs.debian.org/1020811
Subject: Makefile: Pass -ffile-prefix-map to APXS to avoid embedding
 build path.
Forwarded: no

https://reproducible-builds.org/docs/build-path/
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ local-shared-build: module
 module: .libs/mod_upload_progress.o
 
 .libs/mod_upload_progress.o: mod_upload_progress.c
-	$(APXS) -c $(CFLAGS) mod_upload_progress.c
+	$(APXS) -c -Wc,-ffile-prefix-map=$(CURDIR)=. $(CFLAGS) mod_upload_progress.c
 
 #   install the shared object file into Apache 
 install: local-shared-build
