]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: makefile: add an implicit USE_MATH variable for -lm
authorWilly Tarreau <w@1wt.eu>
Wed, 21 Dec 2022 10:59:33 +0000 (11:59 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 23 Dec 2022 15:53:35 +0000 (16:53 +0100)
commitf297b18eac213139b26ab7bc749a80e6d0781624
tree932531b98be8d7704b69a2b952370a6cbb7d7111
parentb16d9b5816cf553e8ea15a965fcd6079351a144b
BUILD: makefile: add an implicit USE_MATH variable for -lm

Lua and 51d make use of -lm, which would be better served by having its
own option than being passed in the LDFLAGS. It also simplifies linking
against a static version of libm. The option uses its own LDFLAGS which
are automatically collected into OPTIONS_LDFLAGS.
Makefile