MAC_OS_X_VERSION_MIN_REQUIRED_DOTS is the same as MACOSX_DEPLOYMENT_TARGET
Change-Id: I3a725e4681c11f503dae57436b05b5a80ff2979c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88764 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
@@ -390,7 +390,6 @@ export MACOSX_PACKAGE_SIGNING_IDENTITY=@MACOSX_PACKAGE_SIGNING_IDENTITY@
|
|||||||
export MACOSX_SDK_PATH=@MACOSX_SDK_PATH@
|
export MACOSX_SDK_PATH=@MACOSX_SDK_PATH@
|
||||||
export MAC_OS_X_VERSION_MAX_ALLOWED=@MAC_OS_X_VERSION_MAX_ALLOWED@
|
export MAC_OS_X_VERSION_MAX_ALLOWED=@MAC_OS_X_VERSION_MAX_ALLOWED@
|
||||||
export MAC_OS_X_VERSION_MIN_REQUIRED=@MAC_OS_X_VERSION_MIN_REQUIRED@
|
export MAC_OS_X_VERSION_MIN_REQUIRED=@MAC_OS_X_VERSION_MIN_REQUIRED@
|
||||||
export MAC_OS_X_VERSION_MIN_REQUIRED_DOTS=@MAC_OS_X_VERSION_MIN_REQUIRED_DOTS@
|
|
||||||
export MANDIR=@MANDIR@
|
export MANDIR=@MANDIR@
|
||||||
export MARIADBC_MAJOR=@MARIADBC_MAJOR@
|
export MARIADBC_MAJOR=@MARIADBC_MAJOR@
|
||||||
export MARIADBC_MICRO=@MARIADBC_MICRO@
|
export MARIADBC_MICRO=@MARIADBC_MICRO@
|
||||||
|
@@ -2886,7 +2886,6 @@ if test $_os = Darwin; then
|
|||||||
AC_MSG_ERROR([with-macosx-version-min-required $with_macosx_version_min_required is not a supported value, supported values are 10.10--15])
|
AC_MSG_ERROR([with-macosx-version-min-required $with_macosx_version_min_required is not a supported value, supported values are 10.10--15])
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
MAC_OS_X_VERSION_MIN_REQUIRED_DOTS=$with_macosx_version_min_required
|
|
||||||
|
|
||||||
LIBTOOL=/usr/bin/libtool
|
LIBTOOL=/usr/bin/libtool
|
||||||
INSTALL_NAME_TOOL=install_name_tool
|
INSTALL_NAME_TOOL=install_name_tool
|
||||||
@@ -3031,8 +3030,8 @@ if test $_os = Darwin; then
|
|||||||
|
|
||||||
AC_MSG_CHECKING([whether the linker supports -platform_version])
|
AC_MSG_CHECKING([whether the linker supports -platform_version])
|
||||||
save_LDFLAGS=$LDFLAGS
|
save_LDFLAGS=$LDFLAGS
|
||||||
LDFLAGS="$LDFLAGS -Xlinker -platform_version -Xlinker macos \
|
LDFLAGS="$LDFLAGS -Xlinker -platform_version -Xlinker macos -Xlinker $MACOSX_DEPLOYMENT_TARGET \
|
||||||
-Xlinker $MAC_OS_X_VERSION_MIN_REQUIRED_DOTS -Xlinker 0.0.0"
|
-Xlinker 0.0.0"
|
||||||
AC_LINK_IFELSE([AC_LANG_PROGRAM()],
|
AC_LINK_IFELSE([AC_LANG_PROGRAM()],
|
||||||
[AC_MSG_RESULT([yes])
|
[AC_MSG_RESULT([yes])
|
||||||
HAVE_MACOS_LD_PLATFORMVERSION=TRUE],
|
HAVE_MACOS_LD_PLATFORMVERSION=TRUE],
|
||||||
@@ -3042,7 +3041,6 @@ fi
|
|||||||
AC_SUBST(MACOSX_SDK_PATH)
|
AC_SUBST(MACOSX_SDK_PATH)
|
||||||
AC_SUBST(MACOSX_DEPLOYMENT_TARGET)
|
AC_SUBST(MACOSX_DEPLOYMENT_TARGET)
|
||||||
AC_SUBST(MAC_OS_X_VERSION_MIN_REQUIRED)
|
AC_SUBST(MAC_OS_X_VERSION_MIN_REQUIRED)
|
||||||
AC_SUBST(MAC_OS_X_VERSION_MIN_REQUIRED_DOTS)
|
|
||||||
AC_SUBST(MAC_OS_X_VERSION_MAX_ALLOWED)
|
AC_SUBST(MAC_OS_X_VERSION_MAX_ALLOWED)
|
||||||
AC_SUBST(INSTALL_NAME_TOOL)
|
AC_SUBST(INSTALL_NAME_TOOL)
|
||||||
AC_SUBST(LIBTOOL) # Note that the macOS libtool command is unrelated to GNU libtool
|
AC_SUBST(LIBTOOL) # Note that the macOS libtool command is unrelated to GNU libtool
|
||||||
|
@@ -31,8 +31,7 @@ ifeq ($(OS)-$(HAVE_MACOS_LD_PLATFORMVERSION),MACOSX-TRUE)
|
|||||||
# -<platform>_version_min flag", clang/test/Driver/darwin-ld-platform-version-macos.c in particular,
|
# -<platform>_version_min flag", clang/test/Driver/darwin-ld-platform-version-macos.c in particular,
|
||||||
# for the -platform_version that Clang passes by default to new-enough ld):
|
# for the -platform_version that Clang passes by default to new-enough ld):
|
||||||
$(eval $(call gb_Executable_add_ldflags,soffice_bin, \
|
$(eval $(call gb_Executable_add_ldflags,soffice_bin, \
|
||||||
-Xlinker -platform_version -Xlinker macos -Xlinker $(MAC_OS_X_VERSION_MIN_REQUIRED_DOTS) \
|
-Xlinker -platform_version -Xlinker macos -Xlinker $(MACOSX_DEPLOYMENT_TARGET) -Xlinker 0.0.0 \
|
||||||
-Xlinker 0.0.0 \
|
|
||||||
))
|
))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
2
external/curl/ExternalProject_curl.mk
vendored
2
external/curl/ExternalProject_curl.mk
vendored
@@ -60,7 +60,7 @@ $(call gb_ExternalProject_get_state_target,curl,build):
|
|||||||
$(if $(verbose),--disable-silent-rules,--enable-silent-rules) \
|
$(if $(verbose),--disable-silent-rules,--enable-silent-rules) \
|
||||||
$(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________OOO) \
|
$(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________OOO) \
|
||||||
$(if $(filter MACOSX,$(OS)),CFLAGS='$(CFLAGS) \
|
$(if $(filter MACOSX,$(OS)),CFLAGS='$(CFLAGS) \
|
||||||
-mmacosx-version-min=$(MAC_OS_X_VERSION_MIN_REQUIRED_DOTS)') \
|
-mmacosx-version-min=$(MACOSX_DEPLOYMENT_TARGET)') \
|
||||||
CPPFLAGS='$(curl_CPPFLAGS)' \
|
CPPFLAGS='$(curl_CPPFLAGS)' \
|
||||||
LDFLAGS='$(curl_LDFLAGS)' \
|
LDFLAGS='$(curl_LDFLAGS)' \
|
||||||
ZLIB_CFLAGS='$(ZLIB_CFLAGS)' ZLIB_LIBS='$(ZLIB_LIBS)' \
|
ZLIB_CFLAGS='$(ZLIB_CFLAGS)' ZLIB_LIBS='$(ZLIB_LIBS)' \
|
||||||
|
Reference in New Issue
Block a user