From 3ebc97ac553d799d502f16ecfb511e0acbe74f58 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Mon, 3 Oct 2005 18:38:51 +0000 Subject: [PATCH 1/1] - build PIE after Ac Changed files: audit.spec -> 1.8 --- audit.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/audit.spec b/audit.spec index d12d054..8b31233 100644 --- a/audit.spec +++ b/audit.spec @@ -14,6 +14,7 @@ Source3: %{name}d.sysconfig URL: http://people.redhat.com/sgrubb/audit/ BuildRequires: autoconf >= 2.59 BuildRequires: automake >= 1.9 +BuildRequires: gcc >= 5:3.4 BuildRequires: libtool BuildRequires: linux-libc-headers >= 2.6.11 PreReq: rc-scripts @@ -91,9 +92,7 @@ install -D %{SOURCE1} src/mt/linux/audit.h %{__autoheader} %{__automake} %configure -# override auditd_CFLAGS to avoid -fPIE unsupported by gcc 3.3 -%{__make} \ - auditd_CFLAGS="-fPIC" +%{__make} %install rm -rf $RPM_BUILD_ROOT -- 2.44.0