diff options
author | Jan Cholasta <jcholast@redhat.com> | 2013-12-04 18:37:18 +0100 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2013-12-06 14:44:40 +0100 |
commit | f618e35a1ac25426912c26ef1948a2cc6217e8f0 (patch) | |
tree | c0ed53f3fbe2934e9877d464a03936669f47d3ec /freeipa.spec.in | |
parent | a9a7976ca8452d363c3daff08ac5734a598c892d (diff) | |
download | freeipa-f618e35a1ac25426912c26ef1948a2cc6217e8f0.tar.gz freeipa-f618e35a1ac25426912c26ef1948a2cc6217e8f0.tar.xz freeipa-f618e35a1ac25426912c26ef1948a2cc6217e8f0.zip |
Prefer user CFLAGS/CPPFLAGS over those provided by rpmbuild in the spec file.
https://fedorahosted.org/freeipa/ticket/3896
Diffstat (limited to 'freeipa.spec.in')
-rw-r--r-- | freeipa.spec.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/freeipa.spec.in b/freeipa.spec.in index 08c82f2de..fa382b0f4 100644 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -320,8 +320,8 @@ This package contains tests that verify IPA functionality. %setup -n freeipa-%{version} -q %build -export CFLAGS="$CFLAGS %{optflags}" -export CPPFLAGS="$CPPFLAGS %{optflags}" +export CFLAGS="%{optflags} $CFLAGS" +export CPPFLAGS="%{optflags} $CPPFLAGS" %if 0%{?fedora} >= 19 export SUPPORTED_PLATFORM=fedora19 %else |