]> git.pld-linux.org Git - packages/beecrypt.git/commitdiff
- the One True Way to add arch specific CFLAGS
authorMariusz Mazur <mmazur@pld-linux.org>
Sat, 23 Aug 2003 20:49:41 +0000 (20:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    beecrypt.spec -> 1.25

beecrypt.spec

index de3cd7636cdd0a04e6e122c0088b1577db4c3f05..7d3c0aad6d5678cf443c20334ce5bd5adf0157d4 100644 (file)
@@ -22,6 +22,8 @@ BuildRequires:        automake
 BuildRequires: libtool
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define        specflags_alpha         "-mno-explicit-relocs"
+
 %description
 BeeCrypt is an open source cryptography library that contains highly
 optimized C and assembler implementations of many well-known
@@ -87,9 +89,6 @@ rm -f missing
 %{__autoheader}
 %{__automake}
 %configure \
-%ifarch alpha
-       CFLAGS="%{rpmcflags} -mno-explicit-relocs" \
-%endif
        --with%{?!_with_javaglue:out}-javaglue \
        --with-cpu=%{_target_cpu} \
        --with-arch=%{_target_cpu} \
This page took 0.057387 seconds and 4 git commands to generate.