Source: fribidi
Version: 1.0.13-2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
fribidi could not be built reproducibly.

This is because the new-to-unstable code to alter CFLAGS (added via
#930791) resulted in the build dropping the -fdebug-prefix-map GCC
flags.

A patch is attached that ensures that the 'fallback' CFLAGS will
always be included.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2023-06-20 17:52:39.441913687 +0100
--- b/debian/rules      2023-06-20 17:57:00.402466109 +0100
@@ -15,7 +15,7 @@
        dh $@
 
 override_dh_auto_configure:
-       dh_auto_configure -- --enable-malloc --enable-static 
CFLAGS="${DEB_CFLAGS}"
+       dh_auto_configure -- --enable-malloc --enable-static CFLAGS="$(shell 
dpkg-buildflags --get CFLAGS) ${DEB_CFLAGS}"
 
 override_dh_makeshlibs:
        dh_makeshlibs -V --add-udeb="$(FRIBIDI_UDEB)"

Reply via email to