2
0

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
This commit is contained in:
Fridrich Strba 2019-11-25 18:52:51 +00:00 committed by Git OBS Bridge
parent 5fcddf0e63
commit d13d59f466
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 25 17:31:02 UTC 2019 - Ralf Habacker <ralf.habacker@freenet.de>
- 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 <idonmez@suse.com>

View File

@ -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