add llvm compile support

Signed-off-by: leeffo <liweiganga@uniontech.com>
This commit is contained in:
leeffo 2023-04-23 06:05:02 +00:00 committed by Gitee
parent c74f7f3f01
commit 26ecd50533
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Name: lm_sensors
Version: 3.6.0
Release: 5
Release: 6
Summary: Linux-monitoring sensors
# lib/libsensors.3 is licensed Verbatim
# dist-git files are licensed MIT
@ -72,6 +72,8 @@ cp -p %{SOURCE7} lm_sensors.service
sed -i "s|\@WRAPPER_DIR\@|%{_libexecdir}/%{name}|" sensord.service
sed -i "s|\@WRAPPER_DIR\@|%{_libexecdir}/%{name}|" lm_sensors.service
sed -i 's|CC := gcc|CC ?= gcc|' Makefile
%build
%set_build_flags
%make_build PREFIX=%{_prefix} LIBDIR=%{_libdir} MANDIR=%{_mandir} \
@ -162,6 +164,9 @@ fi
%exclude %{_mandir}/man8/sensord.8.gz
%changelog
* Sun Apr 23 2023 liweiganga <liweiganga@uniontech.com> - 3.6.0-6
- add llvm compile support
* Sat Sep 19 2020 xinghe <xinghe1@huawei.com> - 3.6.0-5
- fix uninstall failure