[pulseaudio-discuss] [PATCH 1/3] build-sys: Drop sysroot from OS X CFLAGS

arun at accosted.net arun at accosted.net
Sun Jan 3 23:15:04 PST 2016


From: Arun Raghavan <git at arunraghavan.net>

Doesn't seem to be required (any more?).
---
 configure.ac | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/configure.ac b/configure.ac
index ee1b437..9563d66 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1355,13 +1355,9 @@ AC_ARG_WITH(mac-version-min,
     AS_HELP_STRING([--with-mac-version-min=<version>], [Defines the earliest version of MacOS X that the executables will run on.]),
     mac_version_min=$withval, mac_version_min="10.5")
 
-AC_ARG_WITH(mac-sysroot,
-    AS_HELP_STRING([--with-mac-sysroot=<path>], [SDK basedir to use as the logical root directory for headers and libraries.]),
-    mac_sysroot=$withval, mac_sysroot="/Developer/SDKs/MacOSX10.5.sdk")
-
 if test "x$os_is_darwin" = "x1" ; then
-    LDFLAGS="$LDFLAGS -isysroot $mac_sysroot -mmacosx-version-min=$mac_version_min"
-    CFLAGS="$CFLAGS -isysroot $mac_sysroot -mmacosx-version-min=$mac_version_min"
+    LDFLAGS="$LDFLAGS -mmacosx-version-min=$mac_version_min"
+    CFLAGS="$CFLAGS -mmacosx-version-min=$mac_version_min"
 
     if test "x$enable_mac_universal" = "xyes" ; then
         mac_arches="-arch i386 -arch x86_64"
-- 
2.5.0



More information about the pulseaudio-discuss mailing list