aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-13 18:00:18 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-16 17:35:01 +0100
commit80afddd3ae862b125f674702aff6330e87d55338 (patch)
treeb3d443b338e3d675557690ae1d1c97f4510c12ef
parent5b285796b618623289992faea1282f1822335239 (diff)
downloadopenembedded-core-contrib-80afddd3ae862b125f674702aff6330e87d55338.tar.gz
openembedded-core-contrib-80afddd3ae862b125f674702aff6330e87d55338.tar.bz2
openembedded-core-contrib-80afddd3ae862b125f674702aff6330e87d55338.zip
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 <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/reproducible_build.bbclass3
1 files changed, 0 insertions, 3 deletions
diff --git a/meta/classes/reproducible_build.bbclass b/meta/classes/reproducible_build.bbclass
index 0ad0fbeeeda..3f661794c61 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"