diff options
author | Ting Liu <ting.liu@nxp.com> | 2020-12-15 10:37:26 +0530 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2020-12-16 08:38:13 -0300 |
commit | 7dc2b3051ad148a62cb38cea050a443dd5f4c8ba (patch) | |
tree | 5bc863ccedd6be6c235a239052e674e64810a79b | |
parent | f1b992bd754c3751ae968541f6f3e6427eaad729 (diff) | |
download | meta-freescale-7dc2b3051ad148a62cb38cea050a443dd5f4c8ba.tar.gz |
restool: compiling with optimization (-O2)
Fix:
error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
| ^~~~~~~
cc1: all warnings being treated as errors
-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 132af9f6..66cea7ef 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="-Wno-missing-field-initializers -Wno-missing-braces"' | 12 | EXTRA_OEMAKE = 'CC="${CC}" EXTRA_CFLAGS="-O2 -Wno-missing-field-initializers -Wno-missing-braces"' |
13 | 13 | ||
14 | do_install () { | 14 | do_install () { |
15 | oe_runmake install DESTDIR=${D} | 15 | oe_runmake install DESTDIR=${D} |