Skip to content

Commit

Permalink
macOS: Share deployment target and device arch config between makespecs
Browse files Browse the repository at this point in the history
Change-Id: Ie06705590b4962d8b09b97e30625ef11af321763
Reviewed-by: Oswald Buddenhagen <[email protected]>
  • Loading branch information
torarnv committed Aug 23, 2018
1 parent e498a1d commit a88645c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
3 changes: 3 additions & 0 deletions mkspecs/common/macx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
QMAKE_PLATFORM += macos osx macx
QMAKE_MAC_SDK = macosx

QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.11
QMAKE_APPLE_DEVICE_ARCHS = x86_64

device.sdk = macosx
device.target = device
device.dir_affix = $${device.sdk}
Expand Down
4 changes: 0 additions & 4 deletions mkspecs/macx-clang/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
# qmake configuration for Clang on OS X
#

QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.11

QMAKE_APPLE_DEVICE_ARCHS = x86_64

# Opt-in xcb QPA support with XQuartz:
#
# configure \
Expand Down
4 changes: 0 additions & 4 deletions mkspecs/macx-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ MAKEFILE_GENERATOR = UNIX
CONFIG += app_bundle incremental global_init_link_order lib_version_first
QMAKE_INCREMENTAL_STYLE = sublib

QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.11

QMAKE_APPLE_DEVICE_ARCHS = x86_64

include(../common/macx.conf)
include(../common/gcc-base-mac.conf)
include(../common/g++-macx.conf)
Expand Down
4 changes: 0 additions & 4 deletions mkspecs/macx-icc/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,5 @@ QMAKE_LFLAGS_HEADERPAD = -headerpad_max_install_names
QMAKE_LFLAGS_VERSION = -current_version$${LITERAL_WHITESPACE}
QMAKE_LFLAGS_COMPAT_VERSION = -compatibility_version$${LITERAL_WHITESPACE}

QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.11

QMAKE_APPLE_DEVICE_ARCHS = x86_64

include(../common/macx.conf)
load(qt_config)

0 comments on commit a88645c

Please sign in to comment.