commit 56096462c1772fed8c51f916b87fec60a142d202
Author: Jan Palus <[email protected]>
Date:   Sun Nov 15 12:25:12 2020 +0100

    explicitly set *_FOR_BUILD vars

 audit.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/audit.spec b/audit.spec
index b937d47..1ddd1ac 100644
--- a/audit.spec
+++ b/audit.spec
@@ -213,6 +213,10 @@ sed 's/swig//' -i bindings/Makefile.am
 %{__autoheader}
 %{__automake}
 %configure \
+       CC_FOR_BUILD="%{__cc}" \
+       CPPFLAGS_FOR_BUILD="%{rpmcppflags}" \
+       CFLAGS_FOR_BUILD="%{rpmcflags}" \
+       LDFLAGS_FOR_BUILD="%{rpmldflags}" \
        %{?with_kerberos5:--enable-gssapi-krb5} \
        --enable-systemd \
        --with-apparmor \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/audit.git/commitdiff/5f5ab86506089ecc6e1f98eaea95b5b27798a051

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to