From d13d59f4668ed501c7e7fd13720b1a5731020352ba22985a8677594e7f3e5c1d Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 25 Nov 2019 18:52:51 +0000 Subject: [PATCH] Accepting request 750845 from home:rhabacker:branches:windows:mingw:win64 - Use macro _mingw64_ldflags_bootstrap from mingw64-filesystem package for setting LDFLAGS to keep common settings in one place OBS-URL: https://build.opensuse.org/request/show/750845 OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-winpthreads?expand=0&rev=30 --- mingw64-winpthreads.changes | 6 ++++++ mingw64-winpthreads.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/mingw64-winpthreads.changes b/mingw64-winpthreads.changes index a15b28c..a24bdbd 100644 --- a/mingw64-winpthreads.changes +++ b/mingw64-winpthreads.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Nov 25 17:31:02 UTC 2019 - Ralf Habacker + +- Use macro _mingw64_ldflags_bootstrap from mingw64-filesystem package + for setting LDFLAGS to keep common settings in one place + ------------------------------------------------------------------- Mon Nov 25 12:41:38 UTC 2019 - Ismail Dönmez diff --git a/mingw64-winpthreads.spec b/mingw64-winpthreads.spec index 0b99b06..3e4b07f 100644 --- a/mingw64-winpthreads.spec +++ b/mingw64-winpthreads.spec @@ -73,11 +73,11 @@ touch empty.c popd # No ssp support in gcc-cross-bootstrap -# Hence we repeat the LDFLAGS without -fstack-protector +# Hence we use dedicated LDFLAGS (without -fstack-protector) %{_mingw64_configure} \ --enable-static \ --enable-shared \ - LDFLAGS="--Wl,--exclude-libs=libintl.a -Wl,--exclude-libs=libiconv.a -Wl,--no-keep-memory" + LDFLAGS="%{_mingw64_ldflags_bootstrap}" make %{?_smp_mflags} %install