HomeClusterLabs Projects

build: linking with libm is unnecessary on some systems (like OS X)

Description

build: linking with libm is unnecessary on some systems (like OS X)

Inlining of builtin functions can eliminate the libm dependency on other
systems as well, but AC_SEARCH_LIBS can't detect this because it tests
with a false prototype. Thus we use --as-needed linking already to trim
such unnecessary dependencies.

Signed-off-by: Ferenc Wágner <wferi@debian.org>

Details

Provenance
wferiAuthored on Jan 28 2018, 5:53 PM
fabbioneCommitted on Jan 29 2018, 11:51 PM
Parents
rKafb7bf5302e0: build: use --as-needed to avoid unnecessary dependency on libm
Branches
Unknown
Tags
Unknown

Event Timeline