summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--freeipa.spec.in4
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