summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongkyun Son <dongkyun.s@samsung.com>2024-05-21 11:26:09 +0900
committerDongkyun Son <dongkyun.s@samsung.com>2024-05-21 21:13:50 +0900
commitea93cf52fbf440431c9a387ea215374a37588904 (patch)
treeb3b4dc5d5fc0b011278f3085491f82c9655b104b
parente83ebad695f3b6083740cde4d7c85a6166e39afe (diff)
downloadrpm-sandbox/dkson95/gcc-14.tar.gz
rpm-sandbox/dkson95/gcc-14.tar.bz2
rpm-sandbox/dkson95/gcc-14.zip
Fix Werrors with GCC-14.1.0sandbox/dkson95/gcc-14
-Wimplicit-int -Wimplicit-function-declaration -Wincompatible-pointer-types -Wint-conversion https://gcc.gnu.org/gcc-14/porting_to.html Change-Id: I74da101085ce85c63adec4e4bb5df92b464d746b Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 0c29311eb..da53ec0a3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -37,7 +37,7 @@ fi
AS=${AS-as}
AC_SUBST(AS)
if test "$GCC" = yes; then
- cflags_to_try="-fno-strict-aliasing -fstack-protector-strong -Wempty-body"
+ cflags_to_try="-fno-strict-aliasing -fstack-protector-strong -Wempty-body -Wno-error=implicit-int -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion"
AC_MSG_CHECKING([supported compiler flags])
old_cflags=$CFLAGS
echo