BUILD: makefile: Fix building with closefrom() support enabled
authorBrad Smith <brad@comstyle.com>
Wed, 30 Sep 2020 05:04:48 +0000 (01:04 -0400)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 8 Oct 2020 08:23:16 +0000 (10:23 +0200)
commitd02001801f51e97745fb68f14b2630183c73ea0e
treed827f911ae27c5a495396afe0a872443b1b62367
parentb2aecf70f310888103fc6e1bc6e5105c335f0e70
BUILD: makefile: Fix building with closefrom() support enabled

I noticed the USE_CLOSEFROM define was not being passed along like the rest
during the build.

Looking around I see this was broken with the following two commits and related
series..

BUILD: Makefile: also report disabled options in the BUILD_OPTIONS variable
http://git.haproxy.org/?p=haproxy.git;a=commit;h=05fd82da76d1bbc8d65d63ab246bda7cbcf8481a

BUILD: pass all "USE_*" variables as -DUSE_* to the compiler
http://git.haproxy.org/?p=haproxy.git;a=commit;h=824cd00d3bda8f7f6d4c30baf77ba6c19ab47811

Looks like this should be back ported to 2.0, 2.1 and 2.2.

(cherry picked from commit 5018aacae5f2fb65365bce5a3a390c5126203952)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit 4aafadb4d9a47e0cb3cc524d9306c35bd64ccd75)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
Makefile