From b3f5910c279bca6d0db64c9d7473df4dac5ef5c0 Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Sun, 28 Feb 2016 17:15:25 +0100 Subject: [PATCH] macosx: do not ignore CFLAGS Reused the previously defined CFLAGS to add new arguments. --- MacOSX/build-package.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MacOSX/build-package.in b/MacOSX/build-package.in index 9c00b5a8..62a23055 100755 --- a/MacOSX/build-package.in +++ b/MacOSX/build-package.in @@ -15,7 +15,7 @@ SDKS_PATH="$(xcode-select -p)/Platforms/MacOSX.platform/Developer/SDKs" SDK_PATH="${SDK_PATH:-$SDKS_PATH/$(ls -1 ${SDKS_PATH} | sort -n -k2 -t. -r | head -1)}" # Set SDK path -export CFLAGS="-isysroot $SDK_PATH -arch i386 -arch x86_64 -mmacosx-version-min=10.10" +export CFLAGS="$CFLAGS -isysroot $SDK_PATH -arch i386 -arch x86_64 -mmacosx-version-min=10.10" # OpenSSL is deprecated on OSX since 10.7 and that generates lots of # "false positive" warnings and there is no alternative option.