summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bitmask.pro2
-rwxr-xr-xgui/build.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/bitmask.pro b/bitmask.pro
index 98860e4..29b13ee 100644
--- a/bitmask.pro
+++ b/bitmask.pro
@@ -4,7 +4,7 @@ CONFIG += qt staticlib
windows:CONFIG += console
unix:DEBUG:CONFIG += debug
lessThan(QT_MAJOR_VERSION, 5): error("requires Qt 5")
-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.12
+QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.11
macx {
LIBS += -framework Security
diff --git a/gui/build.sh b/gui/build.sh
index a6c0a22..080b1fe 100755
--- a/gui/build.sh
+++ b/gui/build.sh
@@ -3,6 +3,7 @@ set -e
set -x
XBUILD=${XBUILD-no}
+OSX_TARGET=10.11
WIN64="win64"
GO=`which go`
@@ -45,7 +46,6 @@ function buildGoLib {
$GO generate ./pkg/config/version/genver/gen.go
if [ "$PLATFORM" == "Darwin" ]
then
- OSX_TARGET=10.12
GOOS=darwin
CC=clang
CGO_CFLAGS="-g -O2 -mmacosx-version-min=$OSX_TARGET"