]> git.pld-linux.org Git - packages/cryptlib.git/commitdiff
- use CC and optflags
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 20 Feb 2006 19:35:32 +0000 (19:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cryptlib.spec -> 1.3

cryptlib.spec

index 331ccd90270898966066206c828de82ae56d6f1c..70f09a2817e59c13324fd7535f73f046162d97c4 100644 (file)
@@ -8,6 +8,7 @@ Group:          Libraries
 Source0:       ftp://ftp.franken.de/pub/crypt/cryptlib/cl322.zip
 # Source0-md5: 0944963faae4566f54aeb45c6e803142
 URL:           http://www.cs.auckland.ac.nz/~pgut001/cryptlib/
+BuildRequires: sed >= 4.0
 BuildRequires: unzip
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -59,11 +60,14 @@ Statyczna biblioteka cryptlib.
 %setup -q -T -c
 unzip -L -a %{SOURCE0}
 
+sed -i -e 's/ -O3 / %{rpmcflags} /' makefile
+
 %build
 %{__make} \
-       CMDC="%{rpmcflags}"
+       CC="%{__cc}"
+
 %{__make} shared \
-       CMDC="%{rpmcflags}"
+       CC="%{__cc}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.08553 seconds and 4 git commands to generate.