summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-10-30 14:39:35 -0700
committerThiago Macieira <thiago.macieira@intel.com>2014-11-05 19:48:18 +0100
commitc080f68300a07837d0adacbb229973a9e1c04fe5 (patch)
treeaa3fbb425e5b6b4aded1a1e3a49a47d6c475df23 /src/tools
parent368b2acaf034e265cd7228019d536dd2c53ae964 (diff)
downloadqt-creator-c080f68300a07837d0adacbb229973a9e1c04fe5.tar.gz
Fix linking with the Intel Compiler for OS X
ICC does not understand the -sectcreate option. Since this is really just a linker option, use -Wl to pass it to the linker. This works with Clang too. Change-Id: I3edff1a856ba235a60984c745fc144b4046cad77 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by: Fawzi Mohamed <fawzi.mohamed@theqtcompany.com>
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/3rdparty/iossim/iossim.pro2
-rw-r--r--src/tools/3rdparty/iossim_1_8_2/iossim_1_8_2.pro2
-rw-r--r--src/tools/iostool/iostool.pro2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/3rdparty/iossim/iossim.pro b/src/tools/3rdparty/iossim/iossim.pro
index 413ad342ff..3b67b2d8cc 100644
--- a/src/tools/3rdparty/iossim/iossim.pro
+++ b/src/tools/3rdparty/iossim/iossim.pro
@@ -11,7 +11,7 @@ include(../../../../qtcreator.pri)
# Prevent from popping up in the dock when launched.
# We embed the Info.plist file, so the application doesn't need to
# be a bundle.
-QMAKE_LFLAGS += -sectcreate __TEXT __info_plist \"$$PWD/Info.plist\" \
+QMAKE_LFLAGS += -Wl,-sectcreate,__TEXT,__info_plist,\"$$PWD/Info.plist\"
-fobjc-link-runtime
LIBS += \
diff --git a/src/tools/3rdparty/iossim_1_8_2/iossim_1_8_2.pro b/src/tools/3rdparty/iossim_1_8_2/iossim_1_8_2.pro
index 773776ab7c..f1439be4a1 100644
--- a/src/tools/3rdparty/iossim_1_8_2/iossim_1_8_2.pro
+++ b/src/tools/3rdparty/iossim_1_8_2/iossim_1_8_2.pro
@@ -10,7 +10,7 @@ include(../../../../qtcreator.pri)
# Prevent from popping up in the dock when launched.
# We embed the Info.plist file, so the application doesn't need to
# be a bundle.
-QMAKE_LFLAGS += -sectcreate __TEXT __info_plist \"$$PWD/Info.plist\" \
+QMAKE_LFLAGS += -Wl,-sectcreate,__TEXT,__info_plist,\"$$PWD/Info.plist\" \
-fobjc-link-runtime
LIBS += \
diff --git a/src/tools/iostool/iostool.pro b/src/tools/iostool/iostool.pro
index f612833598..a16bff0443 100644
--- a/src/tools/iostool/iostool.pro
+++ b/src/tools/iostool/iostool.pro
@@ -8,7 +8,7 @@ CONFIG += console
# Prevent from popping up in the dock when launched.
# We embed the Info.plist file, so the application doesn't need to
# be a bundle.
-QMAKE_LFLAGS += -sectcreate __TEXT __info_plist \"$$PWD/Info.plist\"
+QMAKE_LFLAGS += -Wl,-sectcreate,__TEXT,__info_plist,\"$$PWD/Info.plist\"
CONFIG -= app_bundle
LIBS += -framework CoreFoundation -framework CoreServices -framework IOKit -lssl -lbz2 -framework Security -framework SystemConfiguration