mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 19:47:17 +00:00
libqmi: refresh 0001-Detect-clang.patch
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
4daa2c5952
commit
2e19b40505
@@ -12,6 +12,7 @@ compiler are accepted.
|
|||||||
|
|
||||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
Upstream-Status: Pending
|
Upstream-Status: Pending
|
||||||
|
|
||||||
---
|
---
|
||||||
m4/compiler-warnings.m4 | 29 +++++++++++++++++++++++++----
|
m4/compiler-warnings.m4 | 29 +++++++++++++++++++++++++----
|
||||||
1 file changed, 25 insertions(+), 4 deletions(-)
|
1 file changed, 25 insertions(+), 4 deletions(-)
|
||||||
@@ -53,7 +54,7 @@ index de4a8b0..e4ba718 100644
|
|||||||
-Wdeclaration-after-statement -Wstrict-prototypes \
|
-Wdeclaration-after-statement -Wstrict-prototypes \
|
||||||
@@ -17,22 +37,23 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
|
@@ -17,22 +37,23 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
|
||||||
-Wmissing-include-dirs -Waggregate-return \
|
-Wmissing-include-dirs -Waggregate-return \
|
||||||
-Wformat-security; do
|
-Wformat-security -Wtype-limits; do
|
||||||
SAVE_CFLAGS="$CFLAGS"
|
SAVE_CFLAGS="$CFLAGS"
|
||||||
- CFLAGS="$CFLAGS $option"
|
- CFLAGS="$CFLAGS $option"
|
||||||
+ CFLAGS="$CFLAGS $option $WERROR"
|
+ CFLAGS="$CFLAGS $option $WERROR"
|
||||||
|
|||||||
Reference in New Issue
Block a user