Fix Werrors with GCC-14.1.0 37/311337/1 sandbox/dkson95/gcc-14
authorDongkyun Son <dongkyun.s@samsung.com>
Fri, 17 May 2024 13:30:57 +0000 (22:30 +0900)
committerDongkyun Son <dongkyun.s@samsung.com>
Fri, 17 May 2024 13:31:58 +0000 (22:31 +0900)
-Wincompatible-pointer-types

Change-Id: I5abb46672055b3e41a9004cd68e617d7bbc67f62
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
packaging/python-lxml.spec

index a7afa9df848ca61a9806a1e24b1e33f1f152dd37..eeabd1932e78764196e5e4365a86194abcc208ab 100644 (file)
@@ -24,7 +24,7 @@ RelaxNG, XML Schema, XSLT, C14N and much more.
 cp %{SOURCE1001} .
 
 %build
-CFLAGS="%{optflags}" python setup.py build
+CFLAGS="%{optflags} -Wno-error=incompatible-pointer-types" python setup.py build
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}