libid3tag: Filter -ffile-prefix-map too
PATCH 1/2 libid3tag: Filter -ffile-prefix-map too
helps when compiler has -ffile-prefix-map flag which helps reproducibility as well
Signed-off-by Khem Raj <[email protected]>
--- .../libid3tag/libid3tag/cflags_filter.patch | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)
meta/recipes-multimedia/libid3tag/libid3tag/cflags_filter.patch +3 -5
@@ -4,15 +4,13 @@ flags. We need those to generate reproducible binaries. Allow them through. Upstream-Status: Pending Signed-off-by: Richard Purdie <[email protected]> -Index: libid3tag-0.15.1b/configure.ac -=================================================================== ---- libid3tag-0.15.1b.orig/configure.ac -+++ libid3tag-0.15.1b/configure.ac +--- a/configure.ac ++++ b/configure.ac @@ -99,6 +99,10 @@ do -mno-cygwin) shift ;; -+ -fmacro-prefix-map*|-fdebug-prefix-map*) ++ -fmacro-prefix-map*|-fdebug-prefix-map*|-ffile-prefix-map*) + CFLAGS="$CFLAGS $1" + shift + ;;
Signature · 1 line
2.31.1
PATCH 2/2 libjpeg-turbo: Use --reproducible option for nasm
This ensures that nasm version and timestamps do but appear in build outputs
Signed-off-by Khem Raj <[email protected]>
Cc Joshua Watt <[email protected]>
--- meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.6.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.6.bb +1 -1
@@ -29,7 +29,7 @@ RCONFLICTS_${PN} += "jpeg" inherit cmake pkgconfig -export NASMENV = "--debug-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}" +export NASMENV = "--reproducible --debug-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}" # Add nasm-native dependency consistently for all build arches is hard EXTRA_OECMAKE_append_class-native = " -DWITH_SIMD=False"
Signature · 1 line
2.31.1