projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c886143
)
Don't use -O2 for --with developer on rpmbuild. Fixes #1753
author
Alan T. DeKok
<aland@freeradius.org>
Tue, 20 Sep 2016 21:24:39 +0000
(17:24 -0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Wed, 21 Sep 2016 15:34:17 +0000
(11:34 -0400)
redhat/freeradius.spec
patch
|
blob
|
history
diff --git
a/redhat/freeradius.spec
b/redhat/freeradius.spec
index
b0d7d34
..
1ef613c
100644
(file)
--- a/
redhat/freeradius.spec
+++ b/
redhat/freeradius.spec
@@
-304,8
+304,8
@@
find $RPM_BUILD_DIR/freeradius-server-%{version} \( -name '*.c' -o -name '*.h' \
%build
-%if
arch s390 s390x
-export CFLAGS="$
RPM_OPT_FLAGS -fPIC
"
+%if
%{?_with_developer:1}%{!?_with_developer:0}
+export CFLAGS="$
CFLAGS -fpic
"
%else
export CFLAGS="$RPM_OPT_FLAGS -fpic"
%endif