Home GnuPG
Diffusion nPth 3ffea7492470

w32: Use -static-libgcc to avoid linking to libgcc_s_sjlj-1.dll.
3ffea7492470Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

w32: Use -static-libgcc to avoid linking to libgcc_s_sjlj-1.dll.

* w32/Makefile.am: Remove non-Windows stuff.
(extra_ltoptions): New.
(libnpth_la_LDFLAGS): Use it.

Since gcc 4.8 there is a regression in that plain C programs may link
to libgcc_s.a which has a dependency on libgcc_s_sjlj.dll. This is
for example triggered by using long long arithmetic on a 32 bit
Windows (e.g symbol __udivdi3).

Details

Provenance
wernerAuthored on Feb 3 2015, 3:17 PM
Parents
rPTHa2614eafa085: Switch to automake 1.14.
Branches
Unknown
Tags
Unknown