summaryrefslogtreecommitdiffstats
path: root/mkspecs/unsupported/linux-libc++-clang/qmake.conf
diff options
context:
space:
mode:
authorDonald Carr <sirspudd@gmail.com>2013-10-02 01:35:46 -0700
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-03 19:05:47 +0200
commitcb82b3e8913e9d7952e9b3d4fa680c4af9965434 (patch)
tree3b530f4cca058c67690fa4caea01a26356e0dccc /mkspecs/unsupported/linux-libc++-clang/qmake.conf
parent3649a6e61d823289d18be19387d7e3923dd90bd0 (diff)
Add unsupported linux libc++ clang mkspec
Change-Id: Ie282196f3961777d04170fb7426f51c5fba83678 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'mkspecs/unsupported/linux-libc++-clang/qmake.conf')
-rw-r--r--mkspecs/unsupported/linux-libc++-clang/qmake.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/mkspecs/unsupported/linux-libc++-clang/qmake.conf b/mkspecs/unsupported/linux-libc++-clang/qmake.conf
new file mode 100644
index 0000000000..bf0abb2a54
--- /dev/null
+++ b/mkspecs/unsupported/linux-libc++-clang/qmake.conf
@@ -0,0 +1,20 @@
+#
+# qmake configuration for linux-clang
+#
+
+MAKEFILE_GENERATOR = UNIX
+CONFIG += incremental
+
+QMAKE_INCREMENTAL_STYLE = sublib
+
+include(../../common/linux.conf)
+include(../../common/gcc-base-unix.conf)
+include(../../common/clang.conf)
+
+QMAKE_CFLAGS_RELEASE = -Os
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+
+QMAKE_CXXFLAGS_CXX11 += -std=c++11 -stdlib=libc++
+QMAKE_LFLAGS_CXX11 += -stdlib=libc++ -lc++abi
+
+load(qt_config)