From 9d4d7b601c60bfe3288f1f74414eab4cb8f485b6 Mon Sep 17 00:00:00 2001 From: 15859157387 <977713017@qq.com> Date: Fri, 13 Oct 2023 15:39:52 +0800 Subject: [PATCH] support clang compile --- rsyslog.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/rsyslog.spec b/rsyslog.spec index 803a259..22d1ba7 100644 --- a/rsyslog.spec +++ b/rsyslog.spec @@ -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 +* Fri Oct 13 2023 renyi <977713017@qq.com> - 8.2210.0-5 +- Type:NA +- ID:NA +- SUG:NA +- DESC: support clang compile + * Tue Sep 19 2023 zhangqiumiao - 8.2210.0-4 - Type:bugfix - ID:NA -- Gitee