1618ef236b
Use these mkspecs to switch to the new libc++ C++ runtime library, which in turn makes it possible to enable C++11 support with clang. Change-Id: If92908592f8bee4829a1bad747fe396f527d26c7 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
23 lines
597 B
Plaintext
23 lines
597 B
Plaintext
#
|
|
# qmake configuration for 32-bit Clang on OS X
|
|
#
|
|
|
|
MAKEFILE_GENERATOR = UNIX
|
|
TARGET_PLATFORM = macx
|
|
TEMPLATE = app
|
|
CONFIG += qt warn_on release app_bundle incremental global_init_link_order lib_version_first plugin_no_soname link_prl
|
|
QT += core gui
|
|
QMAKE_INCREMENTAL_STYLE = sublib
|
|
|
|
include(../common/mac.conf)
|
|
include(../common/gcc-base-macx.conf)
|
|
include(../common/clang.conf)
|
|
include(../common/clang-mac.conf)
|
|
|
|
QMAKE_CFLAGS += -arch i386
|
|
QMAKE_OBJECTIVE_CFLAGS += -arch i386 -stdlib=libc++
|
|
QMAKE_CXXFLAGS += -arch i386 -stdlib=libc++
|
|
QMAKE_LFLAGS += -arch i386 -stdlib=libc++
|
|
|
|
load(qt_config)
|