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