From 55e22cfe0e5ff9e57a1c4eb27f55115b8914648f Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Mon, 5 Aug 2013 14:21:56 +0200 Subject: [PATCH] OSX: Make machtest compile on 10.9 Added the compiler options, we need the info of sdk. Task-number: QTBUG-32715 Change-Id: I70612f36a16e0ab5025194a10ce399822e159c7c Reviewed-by: Gabriel de Dietrich Reviewed-by: Thiago Macieira --- tests/auto/corelib/plugin/qpluginloader/machtest/machtest.pro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/auto/corelib/plugin/qpluginloader/machtest/machtest.pro b/tests/auto/corelib/plugin/qpluginloader/machtest/machtest.pro index b1183da84d..7acddc22ce 100644 --- a/tests/auto/corelib/plugin/qpluginloader/machtest/machtest.pro +++ b/tests/auto/corelib/plugin/qpluginloader/machtest/machtest.pro @@ -4,10 +4,10 @@ OTHER_FILES += \ generate-bad.pl i386.target = good.i386.dylib -i386.commands = $(CXX) -shared -arch i386 -o $@ -I$$[QT_INSTALL_HEADERS/get] $< +i386.commands = $(CXX) $(CXXFLAGS) -shared -arch i386 -o $@ -I$$[QT_INSTALL_HEADERS/get] $< i386.depends += $$PWD/../fakeplugin.cpp x86_64.target = good.x86_64.dylib -x86_64.commands = $(CXX) -shared -arch x86_64 -o $@ -I$$[QT_INSTALL_HEADERS/get] $< +x86_64.commands = $(CXX) $(CXXFLAGS) -shared -arch x86_64 -o $@ -I$$[QT_INSTALL_HEADERS/get] $< x86_64.depends += $$PWD/../fakeplugin.cpp # Current Mac OS X toolchains have no compiler for PPC anymore