2
0

- Disable stack-protector because we don't have ssp support

in mingw64-cross-gcc-bootstrap (yet).

OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-winpthreads?expand=0&rev=28
This commit is contained in:
Ismail Dönmez 2019-11-25 12:42:09 +00:00 committed by Git OBS Bridge
parent a4491ef0ba
commit 93b86139d2
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 25 12:41:38 UTC 2019 - Ismail Dönmez <idonmez@suse.com>
- Disable stack-protector because we don't have ssp support
in mingw64-cross-gcc-bootstrap (yet).
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Nov 23 14:39:46 UTC 2019 - Ismail Dönmez <idonmez@suse.com> Sat Nov 23 14:39:46 UTC 2019 - Ismail Dönmez <idonmez@suse.com>

View File

@ -71,9 +71,12 @@ touch empty.c
%_mingw64_cc -c empty.c %_mingw64_cc -c empty.c
%_mingw64_ar rsc libpthread.a empty.o %_mingw64_ar rsc libpthread.a empty.o
popd popd
%_mingw64_configure \
# No ssp support in gcc-cross-bootstrap
%{_mingw64_configure} \
--enable-static \ --enable-static \
--enable-shared --enable-shared \
LDFLAGS="-fno-stack-protector"
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install