mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
yasm: improve reproducibility
Place reproducible build date in source files instead of actual build date if SOURCE_DATE_EPOCH available. Signed-off-by: Oleh Matiusha <omatiush@cisco.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -14,6 +14,8 @@ SRC_URI = "git://github.com/yasm/yasm.git;branch=master;protocol=https \
|
||||
file://0001-Do-not-use-AC_HEADER_STDC.patch \
|
||||
file://CVE-2023-31975.patch \
|
||||
file://CVE-2023-37732.patch \
|
||||
file://0001-yasm-Set-build-date-to-SOURCE_DATE_EPOCH.patch \
|
||||
file://0002-yasm-Use-BUILD_DATE-for-reproducibility.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
@@ -30,3 +32,4 @@ do_configure:prepend() {
|
||||
# Don't include $CC (which includes path to sysroot) in generated header.
|
||||
sed -i -e "s/^echo \"\/\* generated \$ac_cv_stdint_message \*\/\" >>\$ac_stdint$"// ${S}/m4/ax_create_stdint_h.m4
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user