From: Jakub Bogusz Date: Mon, 3 Oct 2005 18:38:51 +0000 (+0000) Subject: - build PIE after Ac X-Git-Tag: auto/th/audit-1_0_8-1~3 X-Git-Url: http://git.pld-linux.org/?p=packages%2Faudit.git;a=commitdiff_plain;h=3ebc97ac553d799d502f16ecfb511e0acbe74f58 - build PIE after Ac Changed files: audit.spec -> 1.8 --- 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