diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/reproducible_build.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/reproducible_build.bbclass b/meta/classes/reproducible_build.bbclass index f06e00d70d..9337d791e8 100644 --- a/meta/classes/reproducible_build.bbclass +++ b/meta/classes/reproducible_build.bbclass | |||
@@ -41,6 +41,9 @@ SDE_DIR = "${WORKDIR}/source-date-epoch" | |||
41 | SDE_FILE = "${SDE_DIR}/__source_date_epoch.txt" | 41 | SDE_FILE = "${SDE_DIR}/__source_date_epoch.txt" |
42 | SDE_DEPLOYDIR = "${WORKDIR}/deploy-source-date-epoch" | 42 | SDE_DEPLOYDIR = "${WORKDIR}/deploy-source-date-epoch" |
43 | 43 | ||
44 | # Enable compiler warning when the __TIME__, __DATE__ and __TIMESTAMP__ macros are used. | ||
45 | TARGET_CC_ARCH_append_class-target = " -Wdate-time" | ||
46 | |||
44 | # A SOURCE_DATE_EPOCH of '0' might be misinterpreted as no SDE | 47 | # A SOURCE_DATE_EPOCH of '0' might be misinterpreted as no SDE |
45 | export SOURCE_DATE_EPOCH_FALLBACK ??= "1302044400" | 48 | export SOURCE_DATE_EPOCH_FALLBACK ??= "1302044400" |
46 | 49 | ||