Prefer user CFLAGS/CPPFLAGS over those provided by rpmbuild in the spec file.

https://fedorahosted.org/freeipa/ticket/3896
This commit is contained in:
Jan Cholasta authored and Petr Viktorin committed 2013-12-06 14:44:40 +01:00
1 parent a9a7976ca8
commit f618e35a1a
1 file changed
+2 -2
+2 -2
View File
@@ -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