Ticket #46536: patch-machtest.diff

File patch-machtest.diff, 847 bytes (added by RJVB (René Bertin), 10 years ago)
  • qtbase/tests/auto/corelib/plugin/qpluginloader/machtest/machtest.pro

     
    44    generate-bad.pl
    55
    66i386.target = good.i386.dylib
    7 i386.commands = $(CXX) $(CXXFLAGS) -shared -arch i386 -o $@ -I$$[QT_INSTALL_HEADERS/get] $<
     7i386.commands = $(CXX) $(filter-out -arch i386 x86_64,$(CXXFLAGS)) -shared -arch i386 -o $@ -I$$[QT_INSTALL_HEADERS/get] $<
    88i386.depends += $$PWD/../fakeplugin.cpp
    99x86_64.target = good.x86_64.dylib
    10 x86_64.commands = $(CXX) $(CXXFLAGS) -shared -arch x86_64 -o $@ -I$$[QT_INSTALL_HEADERS/get] $<
     10x86_64.commands = $(CXX) $(filter-out -arch i386 x86_64,$(CXXFLAGS)) -shared -arch x86_64 -o $@ -I$$[QT_INSTALL_HEADERS/get] $<
    1111x86_64.depends += $$PWD/../fakeplugin.cpp
    1212
    1313# Current Mac OS X toolchains have no compiler for PPC anymore