Fix Werrors with GCC-14.1.0 70/311970/1 accepted/tizen_9.0_base accepted/tizen_base accepted/tizen_base_asan accepted/tizen_base_toolchain accepted/tizen_base_x accepted/tizen_base_x_asan tizen_9.0_base tizen_base accepted/tizen/9.0/base/20241030.075931 accepted/tizen/base/20240612.043320 accepted/tizen/base/asan/20240806.090059 accepted/tizen/base/toolchain/20240624.003553 accepted/tizen/base/x/20240612.012403 accepted/tizen/base/x/asan/20240624.231414 tizen_9.0_m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Fri, 31 May 2024 06:31:00 +0000 (15:31 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Fri, 31 May 2024 06:31:27 +0000 (15:31 +0900)
-Wincompatible-pointer-types

Change-Id: I033a98398f8cd95c4af7c2dfd08a2d3e042509b2

packaging/python-lxml.spec

index a7afa9d..9eb2c75 100644 (file)
@@ -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}