From 6b04e7edb396af62f8d298785b9a13b4bad8b602 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Fri, 31 May 2024 14:10:16 +0900 Subject: [PATCH] Fix Werrors with GCC-14.1.0 Add "-Wincompatible-pointer-types" option to CFLAGS Change-Id: I677a590ed5e07dbbb515dd1b89df080810aa4714 --- packaging/python3-lxml.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/python3-lxml.spec b/packaging/python3-lxml.spec index 31c29f4..8c2fbe4 100644 --- a/packaging/python3-lxml.spec +++ b/packaging/python3-lxml.spec @@ -25,7 +25,7 @@ RelaxNG, XML Schema, XSLT, C14N and much more. cp %{SOURCE1001} . %build -export CFLAGS="%{optflags}" +export CFLAGS+=" -Wno-error=incompatible-pointer-types" %{_bindir}/python3 setup.py build %install -- 2.7.4