From fa429c0ad31e5358cde16888a15dd6fa4eb8b862 Mon Sep 17 00:00:00 2001 From: desert-sailor Date: Thu, 18 Jan 2024 18:24:10 +0800 Subject: [PATCH] Fix Eulermaker failure --- python-ninja.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/python-ninja.spec b/python-ninja.spec index 5bfbd9f..abf9f9c 100644 --- a/python-ninja.spec +++ b/python-ninja.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-ninja Version: 1.11.1.1 -Release: 1 +Release: 2 Summary: A small build system with a focus on speed. License: Apache-2.0 URL: https://github.com/ninja-build/ninja @@ -44,6 +44,8 @@ sed -i '/name=/a\version="%{version}",' setup.py sed -i 's#https.*.gz#file://%{SOURCE1}#g' NinjaUrls.cmake %build +export CFLAGS+=" -Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=restrict -fPIC" +export CXXFLAGS+=" -Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=restrict -fPIC" %pyproject_build %install @@ -73,5 +75,8 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Fri Jan 19 2024 Dongxing Wang - 1.11.1.1-2 +- Fix Eulermaker failure + * Mon Dec 25 2023 Dongxing Wang - 1.11.1.1-1 - Init package -- Gitee