From: Richard Purdie Date: Wed, 13 Oct 2021 17:00:18 +0000 (+0100) Subject: reproducible_build: Drop now unneeded compiler warning X-Git-Tag: uninative-3.5~1219 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=80afddd3ae862b125f674702aff6330e87d55338;p=openembedded-core.git reproducible_build: Drop now unneeded compiler warning We now pass compiler options that mean the compiler will adjust these values to SOURCE_DATE_EPOCH, the compiler warnings are now unneeded. Signed-off-by: Richard Purdie --- diff --git a/meta/classes/reproducible_build.bbclass b/meta/classes/reproducible_build.bbclass index 0ad0fbeeed..3f661794c6 100644 --- a/meta/classes/reproducible_build.bbclass +++ b/meta/classes/reproducible_build.bbclass @@ -58,9 +58,6 @@ SDE_DIR = "${WORKDIR}/source-date-epoch" SDE_FILE = "${SDE_DIR}/__source_date_epoch.txt" SDE_DEPLOYDIR = "${WORKDIR}/deploy-source-date-epoch" -# Enable compiler warning when the __TIME__, __DATE__ and __TIMESTAMP__ macros are used. -TARGET_CC_ARCH:append:class-target = " -Wdate-time" - # A SOURCE_DATE_EPOCH of '0' might be misinterpreted as no SDE export SOURCE_DATE_EPOCH_FALLBACK ??= "1302044400"