!128 LLVM平行宇宙:支持使用clang构建rsyslog

From: @ren-yi43 
Reviewed-by: @lvying6, @overweight 
Signed-off-by: @lvying6, @overweight
This commit is contained in:
openeuler-ci-bot 2023-10-10 02:04:52 +00:00 committed by Gitee
commit 6dd779d778
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -7,7 +7,7 @@
Name: rsyslog
Version: 8.2210.0
Release: 4
Release: 5
Summary: The rocket-fast system for log processing
License: (GPLv3+ and ASL 2.0)
URL: http://www.rsyslog.com/
@ -262,7 +262,7 @@ autoreconf -vfi
%ifarch sparc64
export CFLAGS="$RPM_OPT_FLAGS -fPIE -DPATH_PIDFILE=\\\"%{Pidfile}\\\""
%else
export CFLAGS="$RPM_OPT_FLAGS -fpie -DPATH_PIDFILE=\\\"%{Pidfile}\\\""
export CFLAGS="$RPM_OPT_FLAGS -fpie -fPIC -DPATH_PIDFILE=\\\"%{Pidfile}\\\""
export LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
%endif
@ -514,6 +514,12 @@ done
%{_mandir}/man1/rscryutil.1.gz
%changelog
* Wed Sep 27 2023 renyi <977713017@qq.com> - 8.2210.0-5
- Type:NA
- ID:NA
- SUG:NA
- DESC: support clang compile
* Tue Sep 19 2023 zhangqiumiao <zhangqiumiao1@huawei.com> - 8.2210.0-4
- Type:bugfix
- ID:NA