]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: tools: do not use the weak attribute for trace() on obsolete linkers
authorWilly Tarreau <w@1wt.eu>
Tue, 4 Jun 2019 14:02:26 +0000 (16:02 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 4 Jun 2019 14:02:26 +0000 (16:02 +0200)
commit42a6621d3057e03653233076c5d06c079dee5c22
tree7a633f1167935474d031a499d3505184055eb689
parentfb55365f9ecf89670fe05120f88c66fc3857a34f
BUILD: tools: do not use the weak attribute for trace() on obsolete linkers

The default dummy trace() function is marked weak in order to be easily
replaced at link time. Some linkers are having issues with the weak
attribute, so let's not mark it on these linkers. They will simply not
be able to build with TRACE=1, which is no big deal since it's only used
by developers.
src/standard.c