Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MediaArea/ZenLib.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Gervais <gervais.maxime@gmail.com>2020-07-13 13:52:41 +0300
committerMaxime Gervais <gervais.maxime@gmail.com>2020-07-13 22:01:48 +0300
commit393da255f23218680c4e6798dfdedc1a1dc8c21e (patch)
tree7d1708797970357a13a7bf5ec308678523257f2f /Project
parent54d2f0d4ad1fc52d3b292a52dfd9b8ff8bdfc24f (diff)
Remove hardcoded obsolete SDK paths and target version for macOS
Signed-off-by: Maxime Gervais <gervais.maxime@gmail.com>
Diffstat (limited to 'Project')
-rw-r--r--Project/GNU/Library/configure.ac18
1 files changed, 2 insertions, 16 deletions
diff --git a/Project/GNU/Library/configure.ac b/Project/GNU/Library/configure.ac
index c0ff266..762ceee 100644
--- a/Project/GNU/Library/configure.ac
+++ b/Project/GNU/Library/configure.ac
@@ -79,12 +79,6 @@ dnl
if test "$enable_universal_binary" = "yes"; then
enable_arch_ppc=yes
enable_arch_i386=yes
- if test "$with_macosx_sdk" = no ; then
- with_macosx_sdk="/Developer/SDKs/MacOSX10.4u.sdk"
- fi
- if test "$with_macosx_version_min" = no ; then
- with_macosx_version_min="10.4"
- fi
fi
if test "$enable_arch_ppc" = "yes"; then
CXXFLAGS="$CXXFLAGS -arch ppc"
@@ -121,11 +115,7 @@ if test "$enable_arch_arm64" = "yes"; then
CFLAGS="$CFLAGS -arch arm64"
LDFLAGS="$LDFLAGS -arch arm64"
fi
-if test "$with_macosx_sdk" = "yes" ; then
- CXXFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk $CXXFLAGS"
- CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk $CFLAGS"
- LDFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk $LDFLAGS"
-elif test "x$with_macosx_sdk" != xno ; then
+if test "x$with_macosx_sdk" != xno ; then
CXXFLAGS="-isysroot $with_macosx_sdk $CXXFLAGS"
CFLAGS="-isysroot $with_macosx_sdk $CFLAGS"
LDFLAGS="-isysroot $with_macosx_sdk $LDFLAGS"
@@ -135,11 +125,7 @@ if test "x$with_macosx_version_min" != xno ; then
CFLAGS="-mmacosx-version-min=$with_macosx_version_min $CFLAGS"
LDFLAGS="-mmacosx-version-min=$with_macosx_version_min $LDFLAGS"
fi
-if test "$with_iphoneos_sdk" = "yes" ; then
- CXXFLAGS="-isysroot /Developer/SDKs/iPhoneOS.sdk $CXXFLAGS"
- CFLAGS="-isysroot /Developer/SDKs/iPhoneOS.sdk $CFLAGS"
- LDFLAGS="-isysroot /Developer/SDKs/iPhoneOS.sdk $LDFLAGS"
-elif test "x$with_iphoneos_sdk" != xno ; then
+if test "x$with_iphoneos_sdk" != xno ; then
CXXFLAGS="-isysroot $with_iphoneos_sdk $CXXFLAGS"
CFLAGS="-isysroot $with_iphoneos_sdk $CFLAGS"
LDFLAGS="-isysroot $with_iphoneos_sdk $LDFLAGS"