Explain flags
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 21 Sep 2016 13:09:32 +0000 (17:09 +0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 21 Sep 2016 15:34:20 +0000 (11:34 -0400)
redhat/freeradius.spec

index 1ef613c..2cbf402 100644 (file)
@@ -304,8 +304,10 @@ find $RPM_BUILD_DIR/freeradius-server-%{version} \( -name '*.c' -o -name '*.h' \
 
 
 %build
+# Retain CFLAGS from the environment...
 %if %{?_with_developer:1}%{!?_with_developer:0}
 export CFLAGS="$CFLAGS -fpic"
+# or add the standard RPM optimisation flags.
 %else
 export CFLAGS="$RPM_OPT_FLAGS -fpic"
 %endif