]> git.pld-linux.org Git - packages/checkpolicy.git/commitdiff
- use proper CC and optflags
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 3 Jul 2003 08:24:14 +0000 (08:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- changed byacc to bison (preferred), added BR: flex

Changed files:
    checkpolicy.spec -> 1.4

checkpolicy.spec

index 3fab521f5adddcf9a38158a10bf409f9f70d5182..d7bb8922b90eb271841bf2ef1350226086bbb869 100644 (file)
@@ -7,7 +7,8 @@ License:        Public domain (uncopyrighted)
 Group:         Development
 # Source0-md5: 7b69ecafb4b8dd8313dae0e5fadc960e
 Source0:       http://www.nsa.gov/selinux/lk/%{name}-%{version}.tgz
-BuildRequires: byacc
+BuildRequires: bison
+BuildRequires: flex
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -44,7 +45,10 @@ wymagany do zbudowania polityki.
 %setup -q
 
 %build
-%{__make}
+%{__make} \
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags} -O2 -pipe -include global.h -I. -Iinclude" \
+       YACC="bison -y"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.045717 seconds and 4 git commands to generate.