Hack around libtool issue for hardened build for now (#978949)
This commit is contained in:
parent
76c839e23e
commit
b4b00eca04
9
macros
9
macros
@ -28,7 +28,7 @@
|
||||
# ---- configure and makeinstall.
|
||||
#
|
||||
%_configure ./configure
|
||||
%configure \
|
||||
%configure(--:-:ChnqV) \
|
||||
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
|
||||
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
|
||||
FFLAGS="${FFLAGS:-%optflags -I%_fmoddir}" ; export FFLAGS ; \
|
||||
@ -52,7 +52,12 @@
|
||||
--localstatedir=%{_localstatedir} \\\
|
||||
--sharedstatedir=%{_sharedstatedir} \\\
|
||||
--mandir=%{_mandir} \\\
|
||||
--infodir=%{_infodir}
|
||||
--infodir=%{_infodir} \\\
|
||||
%{**} ; \
|
||||
[[ -f ./libtool && "x%{?%_hardened_ldflags}" != "x" ]] && \\\
|
||||
sed -i \\\
|
||||
-e 's! \\\\\\$compiler_flags !&%{?%_hardened_ldflags} !g' \\\
|
||||
./libtool ;
|
||||
|
||||
%makeinstall \
|
||||
%{__make} \\\
|
||||
|
Loading…
Reference in New Issue
Block a user