projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53bd260
)
Explain flags
author
Arran Cudbard-Bell
<a.cudbardb@freeradius.org>
Wed, 21 Sep 2016 13:09:32 +0000
(17:09 +0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Wed, 21 Sep 2016 15:34:20 +0000
(11:34 -0400)
redhat/freeradius.spec
patch
|
blob
|
history
diff --git
a/redhat/freeradius.spec
b/redhat/freeradius.spec
index
1ef613c
..
2cbf402
100644
(file)
--- a/
redhat/freeradius.spec
+++ b/
redhat/freeradius.spec
@@
-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