]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: makefile: properly pass CC to sub-projects
authorWilly Tarreau <w@1wt.eu>
Thu, 17 Nov 2022 07:15:27 +0000 (08:15 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 17 Nov 2022 09:56:35 +0000 (10:56 +0100)
commitd575661d402fc8740c6d915bdd3a5259c38c8a63
treefd73b4426eb19e151632d4ec4f8aa1d4f7796512
parent59b50bd04a6cd5e67683d6aff2645e84b7c62e02
BUILD: makefile: properly pass CC to sub-projects

The "poll" and "tcploop" sub-projects have their own makefiles. But
since the cmd_* commands were migrated from "echo" to $(info) with
make 3.81, the command is confusingly displayed in the top-level
makefile before entering the directory, even making one think that
the build occurred.

Let's instead propagate the verbosity level through the sub-projects
and let them adapt their own cmd_CC. For now this peans a little bit
of duplication for poll and tcploop.
Makefile
dev/poll/Makefile
dev/tcploop/Makefile