6cc927e
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
6cc927e
From: Nicolas Frayer <nfrayer@redhat.com>
6cc927e
Date: Wed, 17 Jan 2024 21:15:14 +0100
6cc927e
Subject: [PATCH] Ignore warnings for incompatible types
6cc927e
6cc927e
Add -Wno-incompatible-pointer-types to ignore warnings for incompatible
6cc927e
types
6cc927e
6cc927e
Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>
6cc927e
---
6cc927e
 configure.ac | 4 ++--
6cc927e
 1 file changed, 2 insertions(+), 2 deletions(-)
6cc927e
6cc927e
diff --git a/configure.ac b/configure.ac
6cc927e
index 79f45ef1e14c..b66e07c67851 100644
6cc927e
--- a/configure.ac
6cc927e
+++ b/configure.ac
6cc927e
@@ -2009,8 +2009,8 @@ if test x"$enable_wextra" != xno ; then
6cc927e
   HOST_CFLAGS="$HOST_CFLAGS -Wextra"
6cc927e
 fi
6cc927e
 
6cc927e
-TARGET_CFLAGS="$TARGET_CFLAGS -Werror=trampolines -fno-trampolines"
6cc927e
-HOST_CFLAGS="$HOST_CFLAGS -Werror=trampolines -fno-trampolines"
6cc927e
+TARGET_CFLAGS="$TARGET_CFLAGS -Werror=trampolines -fno-trampolines -Wno-incompatible-pointer-types"
6cc927e
+HOST_CFLAGS="$HOST_CFLAGS -Werror=trampolines -fno-trampolines -Wno-incompatible-pointer-types"
6cc927e
 
6cc927e
 TARGET_CPP="$TARGET_CC -E"
6cc927e
 TARGET_CCAS=$TARGET_CC