Ismail Dönmez 2019-11-25 12:54:59 +00:00 committed by Git OBS Bridge
parent 93b86139d2
commit 5fcddf0e63

View File

@ -73,10 +73,11 @@ touch empty.c
popd
# No ssp support in gcc-cross-bootstrap
# Hence we repeat the LDFLAGS without -fstack-protector
%{_mingw64_configure} \
--enable-static \
--enable-shared \
LDFLAGS="-fno-stack-protector"
LDFLAGS="--Wl,--exclude-libs=libintl.a -Wl,--exclude-libs=libiconv.a -Wl,--no-keep-memory"
make %{?_smp_mflags}
%install