summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Bremer <wbremer@blackberry.com>2014-04-15 10:34:20 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-15 17:53:29 +0200
commita75153f8d0ae2b1203f8341deb71d753be009efd (patch)
tree6f0f22df042aa86173e5399e0b553577fdcf40e1
parenteaefbe36e88e75725083d52e03d3a7843aa418f6 (diff)
Fix objcopy config test for concurrent make processes
The make targets had no dependency to the built binary. Therefore when building with multiple make processes(-j8) it was not guaranteed that the binary was available for the objcopy tests. Change-Id: Ifd04e3f49fdadf030e82e81498668899ad4e7fd3 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
-rw-r--r--config.tests/unix/objcopy/objcopy.pro8
1 files changed, 1 insertions, 7 deletions
diff --git a/config.tests/unix/objcopy/objcopy.pro b/config.tests/unix/objcopy/objcopy.pro
index d2f9c738f6..3c28b89ef3 100644
--- a/config.tests/unix/objcopy/objcopy.pro
+++ b/config.tests/unix/objcopy/objcopy.pro
@@ -1,10 +1,4 @@
SOURCES = objcopy.cpp
CONFIG -= qt
-all.depends += only_keep_debug strip_debug add_gnu_debuglink
-
-only_keep_debug.commands = $$QMAKE_OBJCOPY --only-keep-debug objcopy objcopy.debug
-strip_debug.commands = $$QMAKE_OBJCOPY --strip-debug objcopy
-add_gnu_debuglink.commands = $$QMAKE_OBJCOPY --add-gnu-debuglink=objcopy.debug objcopy
-
-QMAKE_EXTRA_TARGETS += all only_keep_debug strip_debug add_gnu_debuglink
+QMAKE_POST_LINK += $$QMAKE_OBJCOPY --only-keep-debug objcopy objcopy.debug && $$QMAKE_OBJCOPY --strip-debug objcopy && $$QMAKE_OBJCOPY --add-gnu-debuglink=objcopy.debug objcopy