diff options
author | Remi Collet <remi@remirepo.net> | 2019-04-03 15:41:33 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-04-03 15:41:33 +0200 |
commit | 6fbc3a93e4cb581ffd66232e1b69560455e6d92b (patch) | |
tree | d82e0d268c76ff38965a383a80b8e8cfff4a904b /argon2.spec | |
parent | a5f8f84fdca700b32402e2a7b0f3a1ae72a64efd (diff) |
Diffstat (limited to 'argon2.spec')
-rw-r--r-- | argon2.spec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/argon2.spec b/argon2.spec index adae23e..41e8e10 100644 --- a/argon2.spec +++ b/argon2.spec @@ -86,7 +86,7 @@ fi sed -e 's:lib/@HOST_MULTIARCH@:%{_lib}:;s/@UPSTREAM_VER@/%{version}/' -i %{libname}.pc # Honours default RPM build options and library path, do not use -march=native -sed -e '/^CFLAGS/s:^CFLAGS:LDFLAGS=%{build_ldflags}\nCFLAGS:' \ +sed %{?build_ldflags:-e '/^CFLAGS/s:^CFLAGS:LDFLAGS=%{build_ldflags}\nCFLAGS:'} \ -e 's:-O3 -Wall:%{optflags}:' \ -e '/^LIBRARY_REL/s:lib:%{_lib}:' \ -e 's:-march=\$(OPTTARGET) :${CFLAGS} :' \ |