fix build with multiple options in hardened ldflags (#1548400)

This commit is contained in:
Miroslav Lichvar 2018-03-29 15:33:12 +02:00
parent 041ebb1d4d
commit 2f11e5defa

View File

@ -42,7 +42,8 @@ dialog library.
%configure \ %configure \
--enable-nls \ --enable-nls \
--with-libtool \ --with-libtool \
--with-libtool-opts="-Wc,%{?_hardened_ldflags}" \ --with-libtool-opts="$(for opt in %{?_hardened_ldflags}; do \
echo -n -Xcompiler $opt ''; done)" \
--with-ncursesw \ --with-ncursesw \
--includedir=%{_includedir}/dialog --includedir=%{_includedir}/dialog
make %{?_smp_mflags} make %{?_smp_mflags}