]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: Makefile: silence an option conflict warning with clang
authorWilly Tarreau <w@1wt.eu>
Tue, 16 Oct 2018 16:11:34 +0000 (18:11 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 16 Oct 2018 16:13:11 +0000 (18:13 +0200)
commit0d7a2ae4f5199ec37ead6914fa24d40ec0989a4d
treeb7df1755661cffe8a9b10f88765208cfacd69e80
parentb059b894cdf795f134b6e53ff95ea7f907feb846
BUILD: Makefile: silence an option conflict warning with clang

clang complains that -fno-strict-overflow is not used when -fwrapv is
used, which breaks the build when -Werror is used. Let's introduce a
cc-opt-alt function to emit the former only then the latter is not
supported (since it implies the former).
Makefile