diff options
| -rw-r--r-- | meta-oe/recipes-connectivity/libqmi/libqmi/0001-Detect-clang.patch | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-connectivity/libqmi/libqmi/0001-Detect-clang.patch b/meta-oe/recipes-connectivity/libqmi/libqmi/0001-Detect-clang.patch index 4047ffbf23..7a3429b9d0 100644 --- a/meta-oe/recipes-connectivity/libqmi/libqmi/0001-Detect-clang.patch +++ b/meta-oe/recipes-connectivity/libqmi/libqmi/0001-Detect-clang.patch | |||
| @@ -12,6 +12,7 @@ compiler are accepted. | |||
| 12 | 12 | ||
| 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 14 | Upstream-Status: Pending | 14 | Upstream-Status: Pending |
| 15 | |||
| 15 | --- | 16 | --- |
| 16 | m4/compiler-warnings.m4 | 29 +++++++++++++++++++++++++---- | 17 | m4/compiler-warnings.m4 | 29 +++++++++++++++++++++++++---- |
| 17 | 1 file changed, 25 insertions(+), 4 deletions(-) | 18 | 1 file changed, 25 insertions(+), 4 deletions(-) |
| @@ -53,7 +54,7 @@ index de4a8b0..e4ba718 100644 | |||
| 53 | -Wdeclaration-after-statement -Wstrict-prototypes \ | 54 | -Wdeclaration-after-statement -Wstrict-prototypes \ |
| 54 | @@ -17,22 +37,23 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then | 55 | @@ -17,22 +37,23 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then |
| 55 | -Wmissing-include-dirs -Waggregate-return \ | 56 | -Wmissing-include-dirs -Waggregate-return \ |
| 56 | -Wformat-security; do | 57 | -Wformat-security -Wtype-limits; do |
| 57 | SAVE_CFLAGS="$CFLAGS" | 58 | SAVE_CFLAGS="$CFLAGS" |
| 58 | - CFLAGS="$CFLAGS $option" | 59 | - CFLAGS="$CFLAGS $option" |
| 59 | + CFLAGS="$CFLAGS $option $WERROR" | 60 | + CFLAGS="$CFLAGS $option $WERROR" |
