* [PATCH 1/2] libid3tag: Filter -ffile-prefix-map too
@ 2021-04-29 2:50 Khem Raj
2021-04-29 2:50 ` [PATCH 2/2] libjpeg-turbo: Use --reproducible option for nasm Khem Raj
0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2021-04-29 2:50 UTC (permalink / raw)
To: openembedded-core; +Cc: Khem Raj
helps when compiler has -ffile-prefix-map flag which helps
reproducibility as well
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
.../libid3tag/libid3tag/cflags_filter.patch | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/meta/recipes-multimedia/libid3tag/libid3tag/cflags_filter.patch b/meta/recipes-multimedia/libid3tag/libid3tag/cflags_filter.patch
index 0d1d0dc381..1895748d1d 100644
--- a/meta/recipes-multimedia/libid3tag/libid3tag/cflags_filter.patch
+++ b/meta/recipes-multimedia/libid3tag/libid3tag/cflags_filter.patch
@@ -4,15 +4,13 @@ flags. We need those to generate reproducible binaries. Allow them through.
Upstream-Status: Pending
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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
+ ;;
--
2.31.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 2/2] libjpeg-turbo: Use --reproducible option for nasm
2021-04-29 2:50 [PATCH 1/2] libid3tag: Filter -ffile-prefix-map too Khem Raj
@ 2021-04-29 2:50 ` Khem Raj
0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2021-04-29 2:50 UTC (permalink / raw)
To: openembedded-core; +Cc: Khem Raj, Joshua Watt
This ensures that nasm version and timestamps do but appear in build
outputs
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Joshua Watt <JPEWhacker@gmail.com>
---
meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.6.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.6.bb b/meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.6.bb
index b6efc6bca0..0bd6af8db9 100644
--- a/meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.6.bb
+++ b/meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.6.bb
@@ -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"
--
2.31.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-29 2:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-29 2:50 [PATCH 1/2] libid3tag: Filter -ffile-prefix-map too Khem Raj
2021-04-29 2:50 ` [PATCH 2/2] libjpeg-turbo: Use --reproducible option for nasm Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.