mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-09 12:54:23 +01:00
speedo: Fix regression due to switching from gcc 8.3 to 10.2
* build-aux/speedo.mk (speedo_pkg_zlib_make_args): Use -static-libgcc.
This commit is contained in:
parent
5e33ae3ab4
commit
04f1d9649c
@ -688,9 +688,13 @@ speedo_pkg_w64_gpgex_configure = \
|
|||||||
# External packages
|
# External packages
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# gcc 10.2 takes __udivdi3 from the exception handler DLL and thus
|
||||||
|
# requires it. This is a regression from gcc 8.3 and earlier. To fix
|
||||||
|
# this we need to pass -static-libgcc.
|
||||||
ifeq ($(TARGETOS),w32)
|
ifeq ($(TARGETOS),w32)
|
||||||
speedo_pkg_zlib_make_args = \
|
speedo_pkg_zlib_make_args = \
|
||||||
-fwin32/Makefile.gcc PREFIX=$(host)- IMPLIB=libz.dll.a
|
-fwin32/Makefile.gcc PREFIX=$(host)- IMPLIB=libz.dll.a \
|
||||||
|
LDFLAGS=-static-libgcc
|
||||||
|
|
||||||
speedo_pkg_zlib_make_args_inst = \
|
speedo_pkg_zlib_make_args_inst = \
|
||||||
-fwin32/Makefile.gcc \
|
-fwin32/Makefile.gcc \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user