From b48620dff17f69e8fd8dd9344ef49007b6c28c32 Mon Sep 17 00:00:00 2001 From: Stephan Witt Date: Mon, 6 Dec 2021 07:46:35 +0100 Subject: [PATCH] Care for consistent compiler flag values of macosx-version-min with ObjC and C++ --- config/lyxinclude.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/lyxinclude.m4 b/config/lyxinclude.m4 index 40f86abf70..e6cab08e3b 100644 --- a/config/lyxinclude.m4 +++ b/config/lyxinclude.m4 @@ -694,7 +694,7 @@ AC_DEFUN([LYX_CHECK_MACOS_DEPLOYMENT_TARGET],[ ;; esac fi - AM_CXXFLAGS="-mmacosx-version-min=$macos_deployment_target $AM_CXXFLAGS" + AM_CPPFLAGS="-mmacosx-version-min=$macos_deployment_target $AM_CPPFLAGS" AM_LDFLAGS="-mmacosx-version-min=$macos_deployment_target $AM_LDFLAGS" AC_SUBST(macos_deployment_target,"${macos_deployment_target}") AC_MSG_CHECKING([the macos deployment target for LyX])