diff options
author | Ting Liu <ting.liu@nxp.com> | 2021-10-13 14:15:19 +0530 |
---|---|---|
committer | Ting Liu <ting.liu@nxp.com> | 2021-10-15 11:40:51 +0800 |
commit | 3fde9bdf9f04b8243b3cb07363ad32eea4ec1921 (patch) | |
tree | 86a723c9ed93a7f000a30279ebefe20da1c6da55 /recipes-dpaa2 | |
parent | 50c4043470eed14d1a22ec78b327daacfa3d8877 (diff) | |
download | meta-freescale-3fde9bdf9f04b8243b3cb07363ad32eea4ec1921.tar.gz |
restool: ignore date-time warnnings
Fix:
| restool.c: In function 'main':
| restool.c:1346:68: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
| 1346 | DEBUG_PRINTF("restool built on " __DATE__ " " __TIME__ "\n");
| | ^
| restool.c:1346:42: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
Signed-off-by: Ting Liu <ting.liu@nxp.com>
Diffstat (limited to 'recipes-dpaa2')
-rw-r--r-- | recipes-dpaa2/restool/restool_git.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-dpaa2/restool/restool_git.bb b/recipes-dpaa2/restool/restool_git.bb index 966f6109..7f4a93f7 100644 --- a/recipes-dpaa2/restool/restool_git.bb +++ b/recipes-dpaa2/restool/restool_git.bb | |||
@@ -9,7 +9,7 @@ SRCREV = "8ddbe4c9559ffad5d7e5dd3cd5f00ceeff7f05d4" | |||
9 | 9 | ||
10 | S = "${WORKDIR}/git" | 10 | S = "${WORKDIR}/git" |
11 | 11 | ||
12 | EXTRA_OEMAKE = 'CC="${CC}" EXTRA_CFLAGS="-O2 -Wno-missing-field-initializers -Wno-missing-braces -Wno-maybe-uninitialized"' | 12 | EXTRA_OEMAKE = 'CC="${CC}" EXTRA_CFLAGS="-O2 -Wno-missing-field-initializers -Wno-missing-braces -Wno-maybe-uninitialized -Wno-date-time"' |
13 | 13 | ||
14 | do_install () { | 14 | do_install () { |
15 | oe_runmake install DESTDIR=${D} | 15 | oe_runmake install DESTDIR=${D} |