mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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>
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user