From 93b86139d2da71582da0b9a30fad066d7f5b637c48737236f7a2a8cd6462f62f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 25 Nov 2019 12:42:09 +0000 Subject: [PATCH] - 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 --- mingw64-winpthreads.changes | 6 ++++++ mingw64-winpthreads.spec | 7 +++++-- 2 files changed, 11 insertions(+), 2 deletions(-) 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