Source: squeak-plugins-scratch
Version: 1.4.0.2~svn.r83-3
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed
that squeak-plugins-scratch could not be built reproducibly.

This was because the upstream Makefile was not respecting CFLAGS
and/or dpkg-buildflags and thus was missing the -fdebug-prefix-map
GCC argument.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2019-10-08 15:32:45.676295877 -0700
--- b/debian/rules      2019-10-08 15:44:01.846221833 -0700
@@ -3,7 +3,7 @@
 export DH_ALWAYS_EXCLUDE=.svn
 
 LDFLAGS=-Wl,-z,defs -Wl,--as-needed -Wl,--no-undefined
-CFLAGS=-std=gnu89
+CFLAGS=-std=gnu89 $(shell dpkg-buildflags --get CFLAGS)
 
 config: config-stamp
 config-stamp: 

Reply via email to