From df7281064b33ef76ae3d38b4b7e13ac561ddb124 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 30 Sep 2015 15:20:06 -0700 Subject: Another big hammer to shut Apple's deprecation squealing up. Change-Id: Ifeb37566468fca0afceab1d74baa23fd05a46057 Reviewed-on: https://code.wireshark.org/review/10711 Reviewed-by: Guy Harris --- macosx-setup.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'macosx-setup.sh') diff --git a/macosx-setup.sh b/macosx-setup.sh index f35491e046..f9db757c70 100755 --- a/macosx-setup.sh +++ b/macosx-setup.sh @@ -1301,7 +1301,10 @@ install_portaudio() { # this build on an OS+Xcode with a pre-10.4 SDK; we don't # worry about the user requesting that.) # - CFLAGS="$CFLAGS -mmacosx-version-min=10.4 $SDKFLAGS" CXXFLAGS="$CXXFLAGS -mmacosx-version-min=10.4 $SDKFLAGS" LDFLAGS="$LDFLAGS $VERSION_MIN_FLAGS $SDKFLAGS" ./configure --disable-mac-universal || exit 1 + # Explicitly disable deprecation, so the damn thing will build + # on El Capitan with Xcode 7. + # + CFLAGS="$CFLAGS -Wnodeprecated-declarations -mmacosx-version-min=10.4 $SDKFLAGS" CXXFLAGS="$CXXFLAGS -mmacosx-version-min=10.4 $SDKFLAGS" LDFLAGS="$LDFLAGS $VERSION_MIN_FLAGS $SDKFLAGS" ./configure --disable-mac-universal || exit 1 make $MAKE_BUILD_OPTS || exit 1 $DO_MAKE_INSTALL || exit 1 cd .. -- cgit v1.2.3