projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58e9ee4
)
RPM_OPT_FLAGS set by configure macro anyway... We just need to not mess with things.
author
Arran Cudbard-Bell
<a.cudbardb@freeradius.org>
Wed, 21 Sep 2016 14:41:29 +0000
(18:41 +0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Wed, 21 Sep 2016 15:34:44 +0000
(11:34 -0400)
redhat/freeradius.spec
patch
|
blob
|
history
diff --git
a/redhat/freeradius.spec
b/redhat/freeradius.spec
index
2cbf402
..
53160bf
100644
(file)
--- a/
redhat/freeradius.spec
+++ b/
redhat/freeradius.spec
@@
-307,9
+307,7
@@
find $RPM_BUILD_DIR/freeradius-server-%{version} \( -name '*.c' -o -name '*.h' \
# 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"
+export CXXFLAGS="$CFLAGS"
%endif
# Need to pass these explicitly for clang, else rpmbuilder bails when trying to extract debug info from