This commit is contained in:
parent
aa2309df38
commit
e47922d8b1
@ -61,9 +61,12 @@ bus daemon).
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
echo 'HTML_TIMESTAMP=NO' >> Doxyfile.in
|
echo 'HTML_TIMESTAMP=NO' >> Doxyfile.in
|
||||||
# Skip generation of API doc manpages we do not ship
|
# We use -fpie/-pie for the whole build; this is the recommended way to harden
|
||||||
echo 'GENERATE_MAN=NO' >> Doxyfile.in
|
# the build upstream, see discussion in fdo#46570
|
||||||
|
export CFLAGS="%{optflags} -fno-strict-aliasing -fPIC -fpie"
|
||||||
|
export LDFLAGS="-pie"
|
||||||
|
export CXXFLAGS="%{optflags} -fno-strict-aliasing"
|
||||||
|
export V=1
|
||||||
%configure \
|
%configure \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--libexecdir=%{_libexecdir}/dbus-1 \
|
--libexecdir=%{_libexecdir}/dbus-1 \
|
||||||
|
@ -67,7 +67,6 @@ in this separate package so server systems need not install X.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
echo 'HTML_TIMESTAMP=NO' >> Doxyfile.in
|
echo 'HTML_TIMESTAMP=NO' >> Doxyfile.in
|
||||||
autoreconf -fi
|
|
||||||
# We use -fpie/-pie for the whole build; this is the recommended way to harden
|
# We use -fpie/-pie for the whole build; this is the recommended way to harden
|
||||||
# the build upstream, see discussion in fdo#46570
|
# the build upstream, see discussion in fdo#46570
|
||||||
export CFLAGS="%{optflags} -fno-strict-aliasing -fPIC -fpie"
|
export CFLAGS="%{optflags} -fno-strict-aliasing -fPIC -fpie"
|
||||||
|
Loading…
Reference in New Issue
Block a user