From e6da8b5cd671bda6ce689ee8e97ff3f5883b3b9b Mon Sep 17 00:00:00 2001 From: 15859157387 <977713017@qq.com> Date: Fri, 13 Oct 2023 15:23:19 +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 34b9f83..8304ccb 100644 --- a/rsyslog.spec +++ b/rsyslog.spec @@ -7,7 +7,7 @@ Name: rsyslog Version: 8.2110.0 -Release: 16 +Release: 17 Summary: The rocket-fast system for log processing License: (GPLv3+ and ASL 2.0) URL: http://www.rsyslog.com/ @@ -284,7 +284,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 @@ -536,6 +536,12 @@ done %{_mandir}/man1/rscryutil.1.gz %changelog +* Tue Oct 10 2023 renyi <977713017@qq.com> - 8.2110.0-17 +- Type:NA +- ID:NA +- SUG:NA +- DESC: support clang compile + * Sun Jun 25 2023 linzhuorong - 8.2110.0-16 - Type:NA - ID:NA -- Gitee