summaryrefslogtreecommitdiffstats
path: root/freeipa.spec.in
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2013-12-04 18:37:18 +0100
committerPetr Viktorin <pviktori@redhat.com>2013-12-06 14:44:40 +0100
commitf618e35a1ac25426912c26ef1948a2cc6217e8f0 (patch)
treec0ed53f3fbe2934e9877d464a03936669f47d3ec /freeipa.spec.in
parenta9a7976ca8452d363c3daff08ac5734a598c892d (diff)
downloadfreeipa.git-f618e35a1ac25426912c26ef1948a2cc6217e8f0.tar.gz
freeipa.git-f618e35a1ac25426912c26ef1948a2cc6217e8f0.tar.xz
freeipa.git-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.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/freeipa.spec.in b/freeipa.spec.in
index 08c82f2d..fa382b0f 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