From: DongHun Kwak Date: Fri, 31 May 2024 06:31:00 +0000 (+0900) Subject: Fix Werrors with GCC-14.1.0 X-Git-Tag: accepted/tizen/base/20240612.043320^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ee7d882876ab9d0246c3e8ed5735a09b77ee6f9e;p=platform%2Fupstream%2Fpython-lxml.git Fix Werrors with GCC-14.1.0 -Wincompatible-pointer-types Change-Id: I033a98398f8cd95c4af7c2dfd08a2d3e042509b2 --- diff --git a/packaging/python-lxml.spec b/packaging/python-lxml.spec index a7afa9d..9eb2c75 100644 --- a/packaging/python-lxml.spec +++ b/packaging/python-lxml.spec @@ -24,7 +24,8 @@ RelaxNG, XML Schema, XSLT, C14N and much more. cp %{SOURCE1001} . %build -CFLAGS="%{optflags}" python setup.py build +export CFLAGS+=" -Wno-error=incompatible-pointer-types" +python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot}