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>
This commit is contained in:
parent
eaefbe36e8
commit
a75153f8d0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user