diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-13 18:00:18 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-16 17:41:59 +0100 |
commit | 4f8eec834a8f8686f37f418e43110f746df6f552 (patch) | |
tree | e2248adcb39730293b3b434e56d91257e5f3dbca | |
parent | ec6edfc27f2cfa990dd0f8b2bbc6f9472a50a839 (diff) | |
download | poky-4f8eec834a8f8686f37f418e43110f746df6f552.tar.gz |
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.
(From OE-Core rev: 80afddd3ae862b125f674702aff6330e87d55338)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/reproducible_build.bbclass | 3 |
1 files changed, 0 insertions, 3 deletions
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" | |||
58 | SDE_FILE = "${SDE_DIR}/__source_date_epoch.txt" | 58 | SDE_FILE = "${SDE_DIR}/__source_date_epoch.txt" |
59 | SDE_DEPLOYDIR = "${WORKDIR}/deploy-source-date-epoch" | 59 | SDE_DEPLOYDIR = "${WORKDIR}/deploy-source-date-epoch" |
60 | 60 | ||
61 | # Enable compiler warning when the __TIME__, __DATE__ and __TIMESTAMP__ macros are used. | ||
62 | TARGET_CC_ARCH:append:class-target = " -Wdate-time" | ||
63 | |||
64 | # A SOURCE_DATE_EPOCH of '0' might be misinterpreted as no SDE | 61 | # A SOURCE_DATE_EPOCH of '0' might be misinterpreted as no SDE |
65 | export SOURCE_DATE_EPOCH_FALLBACK ??= "1302044400" | 62 | export SOURCE_DATE_EPOCH_FALLBACK ??= "1302044400" |
66 | 63 | ||