]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Remove -no-cpp-precomp flag from Darwin builds
authorArne Schwabe <arne@rfc2549.org>
Fri, 5 Jul 2019 11:42:43 +0000 (13:42 +0200)
committerGert Doering <gert@greenie.muc.de>
Fri, 5 Jul 2019 11:46:22 +0000 (13:46 +0200)
GCC 9 no longer accepts this flag and trying to find out what it does do
leads to an article

"-no-cpp-precomp: the compiler flag that time forgot"

that also no longer on the Internet. And most other things are
PRs/commits from over ten years ago that remove the flag since it
is no longer needed.
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20190705114243.9481-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg18650.html

Signed-off-by: Gert Doering <gert@greenie.muc.de>
configure.ac

index 2cc396e5504b5b094ccd864a0ccd709ddf5f5ff6..e9f8a2f988cbeeb324a862999a69f18ff8ce4f2d 100644 (file)
@@ -323,8 +323,6 @@ case "$host" in
                AC_DEFINE([TARGET_DARWIN], [1], [Are we running on Mac OS X?])
                AC_DEFINE_UNQUOTED([TARGET_PREFIX], ["M"], [Target prefix])
                have_tap_header="yes"
-               dnl some Mac OS X tendering (we use vararg macros...)
-               CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
                ac_cv_type_struct_in_pktinfo=no
                ;;
        *-mingw*)