diff options
author | Ting Liu <ting.liu@nxp.com> | 2020-12-15 10:37:26 +0530 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2021-01-29 08:30:10 -0300 |
commit | 6e6b68c52ae44e11553ea9d8a3726ef12845abaa (patch) | |
tree | 496a5ebc1cb89c369ed2e8d16a1a1900d81bb239 | |
parent | 2396d154a950c572d92adfce826ebf2355510ad6 (diff) | |
download | meta-freescale-6e6b68c52ae44e11553ea9d8a3726ef12845abaa.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} |