Source: libio-pty-perl Version: 1:1.08-1.1 Severity: wishlist Tags: patch User: [email protected] Usertags: buildpath X-Debbugs-Cc: [email protected]
Hi! While working on the "reproducible builds" effort [1], we have noticed that libio-pty-perl could not be built reproducibly. It doesn't use dpkg-buildflags for compiling a C file, which causes the build path to be embedded in debugging symbols (as -fdebug-prefix-map won't be used). The attached patch fixes this. Regards, Reiner [1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/rules b/debian/rules index abc4941..9836227 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,7 @@ #!/usr/bin/make -f # GNU copyright 1997 to 1999 by Joey Hess. -OPTIMIZE += -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2) +OPTIMIZE += -Wall $(shell dpkg-buildflags --get CFLAGS) -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2) build: build-stamp build-stamp:
signature.asc
Description: PGP signature
_______________________________________________ Reproducible-builds mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
