summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongkyun Son <dongkyun.s@samsung.com>2024-05-21 11:26:09 +0900
committerwang biao <biao716.wang@samsung.com>2024-06-04 07:09:49 +0000
commit4e00f0275c044daec5084bf0ab8cb319175cf346 (patch)
treeb3b4dc5d5fc0b011278f3085491f82c9655b104b
parent1188a3e7eb996c4fa8b945ede08194a4a752de0f (diff)
downloadrpm-4e00f0275c044daec5084bf0ab8cb319175cf346.tar.gz
rpm-4e00f0275c044daec5084bf0ab8cb319175cf346.tar.bz2
rpm-4e00f0275c044daec5084bf0ab8cb319175cf346.zip
-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