]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix ACL_CHECK_ADD_COMPILE_FLAGS to work with clang
authorSelva Nair <selva.nair@gmail.com>
Tue, 19 Nov 2019 17:03:43 +0000 (12:03 -0500)
committerGert Doering <gert@greenie.muc.de>
Wed, 27 Nov 2019 19:39:52 +0000 (20:39 +0100)
commitfb8033d49bbfb1b02e75d8d71d0ad891e07a1b06
tree0ae4ed8d59a55b70cde2963f15c93a86c2a33475
parent1513489be632f6577021e3a0f51799b59c4ace6a
Fix ACL_CHECK_ADD_COMPILE_FLAGS to work with clang

Some compilers (e.g., clang) only issue a warning for
unsupported options unless an additional flag such
as -Werror is used to convert the warning to an error.

The behaviour is unchanged when using gcc as it either
errors or ignores unknown options whether or not -Werror
is present.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
Acked-by: David Sommerseth <davids@openvpn.net>
Message-Id: <1574183023-6136-1-git-send-email-selva.nair@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg19170.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
configure.ac