]> git.pld-linux.org Git - packages/audit.git/commitdiff
explicitly set *_FOR_BUILD vars
authorJan Palus <atler@pld-linux.org>
Sun, 15 Nov 2020 11:25:12 +0000 (12:25 +0100)
committerJan Palus <atler@pld-linux.org>
Sun, 15 Nov 2020 11:30:19 +0000 (12:30 +0100)
audit.spec

index b937d47113fda62dd21b90924ca44e8ef7096003..1ddd1acf90efb29fe0590a44db00502579dfa839 100644 (file)
@@ -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 \
This page took 0.066793 seconds and 4 git commands to generate.