From: Arne Schwabe Date: Fri, 5 Jul 2019 11:42:43 +0000 (+0200) Subject: Remove -no-cpp-precomp flag from Darwin builds X-Git-Tag: v2.5_beta1~300 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0740e079a1c094627a69b8b5959c6be56e15d9f6;p=thirdparty%2Fopenvpn.git Remove -no-cpp-precomp flag from Darwin builds 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 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 --- diff --git a/configure.ac b/configure.ac index 2cc396e55..e9f8a2f98 100644 --- a/configure.ac +++ b/configure.ac @@ -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*)