diff --git a/mingw64-winpthreads.changes b/mingw64-winpthreads.changes index 756b0ed..a15b28c 100644 --- a/mingw64-winpthreads.changes +++ b/mingw64-winpthreads.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Nov 25 12:41:38 UTC 2019 - Ismail Dönmez + +- 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 diff --git a/mingw64-winpthreads.spec b/mingw64-winpthreads.spec index 777524e..eb424df 100644 --- a/mingw64-winpthreads.spec +++ b/mingw64-winpthreads.spec @@ -71,9 +71,12 @@ touch empty.c %_mingw64_cc -c empty.c %_mingw64_ar rsc libpthread.a empty.o popd -%_mingw64_configure \ + +# No ssp support in gcc-cross-bootstrap +%{_mingw64_configure} \ --enable-static \ - --enable-shared + --enable-shared \ + LDFLAGS="-fno-stack-protector" make %{?_smp_mflags} %install