Dirk Mueller 2022-03-15 16:26:11 +00:00 committed by Git OBS Bridge
parent aa2309df38
commit e47922d8b1
2 changed files with 6 additions and 4 deletions

View File

@ -61,9 +61,12 @@ bus daemon).
%build
echo 'HTML_TIMESTAMP=NO' >> Doxyfile.in
# Skip generation of API doc manpages we do not ship
echo 'GENERATE_MAN=NO' >> Doxyfile.in
# We use -fpie/-pie for the whole build; this is the recommended way to harden
# 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 \
--disable-static \
--libexecdir=%{_libexecdir}/dbus-1 \

View File

@ -67,7 +67,6 @@ in this separate package so server systems need not install X.
%build
echo 'HTML_TIMESTAMP=NO' >> Doxyfile.in
autoreconf -fi
# We use -fpie/-pie for the whole build; this is the recommended way to harden
# the build upstream, see discussion in fdo#46570
export CFLAGS="%{optflags} -fno-strict-aliasing -fPIC -fpie"