summaryrefslogtreecommitdiffstats
path: root/mkspecs/common
diff options
context:
space:
mode:
authorJoão Abecasis <joao@abecasis.name>2009-05-06 16:17:12 (GMT)
committerJoão Abecasis <joao@abecasis.name>2009-05-08 11:39:18 (GMT)
commit6f1946e92e01582cdfb5712ccb9ee734f9af7743 (patch)
tree92895ff5c4560e9d13fbc4f417550942b7924128 /mkspecs/common
parentb5adcbd322d9ae34b54ccde5a4d5835a2078f7db (diff)
downloadQt-6f1946e92e01582cdfb5712ccb9ee734f9af7743.zip
Qt-6f1946e92e01582cdfb5712ccb9ee734f9af7743.tar.gz
Qt-6f1946e92e01582cdfb5712ccb9ee734f9af7743.tar.bz2
macx-g++42 spec linker was gcc instead of gcc-4.2
Better alternative to 9ffcf3737901c49acb1a1bc6b65572d195d78a5d Task-number: 253052 Reviewed-by: Norwegian Rock Cat Reviewed-by: MortenS
Diffstat (limited to 'mkspecs/common')
-rw-r--r--mkspecs/common/mac-g++.conf8
1 files changed, 4 insertions, 4 deletions
diff --git a/mkspecs/common/mac-g++.conf b/mkspecs/common/mac-g++.conf
index b764b26..eaae1aa 100644
--- a/mkspecs/common/mac-g++.conf
+++ b/mkspecs/common/mac-g++.conf
@@ -46,10 +46,10 @@ QMAKE_CXXFLAGS_DWARF2 += $$QMAKE_CFLAGS_DWARF2
QMAKE_CXXFLAGS_PRECOMPILE += -x c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
-QMAKE_LINK = g++
-QMAKE_LINK_SHLIB = g++
-QMAKE_LINK_C = gcc
-QMAKE_LINK_C_SHLIB = gcc
+QMAKE_LINK = $$QMAKE_CXX
+QMAKE_LINK_SHLIB = $$QMAKE_CXX
+QMAKE_LINK_C = $$QMAKE_CC
+QMAKE_LINK_C_SHLIB = $$QMAKE_CC
QMAKE_LFLAGS += -headerpad_max_install_names
QMAKE_LFLAGS_RELEASE +=
QMAKE_LFLAGS_DEBUG +=