support clang build
This commit is contained in:
parent
1deaa18986
commit
5092df95d5
@ -1,6 +1,6 @@
|
||||
Name: acpica-tools
|
||||
Version: 20210604
|
||||
Release: 6
|
||||
Release: 7
|
||||
Summary: Tools for OS-independent reference implementation of ACPI
|
||||
|
||||
License: GPLv2
|
||||
@ -56,6 +56,10 @@ CWARNINGFLAGS="\
|
||||
export OPT_CFLAGS="%{optflags} $CWARNINGFLAGS"
|
||||
export OPT_LDFLAGS="%{__global_ldflags}"
|
||||
|
||||
%if "%{?toolchain}" == "clang"
|
||||
CFLAGS="${CFLAGS:-%{?build_cflags}}"; export CFLAGS;
|
||||
%endif
|
||||
|
||||
%make_build
|
||||
|
||||
%install
|
||||
@ -87,6 +91,9 @@ fi
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Wed Mar 6 2024 guojunding <guojunding@kylinos.cn> - 20210604-7
|
||||
- support clang build
|
||||
|
||||
* Tue Mar 5 2024 guojunding <guojunding@kylinos.cn> - 20210604-6
|
||||
- fix invalid dates
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user