Fix Eulermaker failure
This commit is contained in:
parent
d2434896f9
commit
fa429c0ad3
@ -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 <dongxing.wang_a@thundersoft.com> - 1.11.1.1-2
|
||||
- Fix Eulermaker failure
|
||||
|
||||
* Mon Dec 25 2023 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.11.1.1-1
|
||||
- Init package
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user