From f618e35a1ac25426912c26ef1948a2cc6217e8f0 Mon Sep 17 00:00:00 2001 From: Jan Cholasta Date: Wed, 4 Dec 2013 18:37:18 +0100 Subject: Prefer user CFLAGS/CPPFLAGS over those provided by rpmbuild in the spec file. https://fedorahosted.org/freeipa/ticket/3896 --- freeipa.spec.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'freeipa.spec.in') 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 -- cgit