Link against libgcc and libc to avoid unresolved symbols
authorGuillem Jover <guillem@debian.org>
Tue, 31 May 2016 18:38:08 +0000 (19:38 +0100)
committerGuillem Jover <guillem@debian.org>
Tue, 31 May 2016 18:38:08 +0000 (19:38 +0100)
commit6463d744a94d623fa271bb8a48b09996b5d8e7cd
treee1ba1f3d4e2202f138a003d3da3c4cfdd72b6657
parent7ab931a066302438af07facc575bbdb0072d9280
Link against libgcc and libc to avoid unresolved symbols

Origin: vendor
Bug-Debian: 764509
Forwarded: no
Last-Update: 2014-10-09

We need to link agaisnt -lgcc, on at least hppa.

We also link against -lc and -Wl,--as-needed, this way we pull the
required fortified functions from the internal libc_nonshared.a, but
do not link against the shared library because we do not use any of
its symbols.

Gbp-Pq: Name 01_link_libs.patch
src/Makefile