Path to target for gobjcopy on Mac.
--HG-- branch : develop
This commit is contained in:
parent
ddd71403ad
commit
8561b3bc32
|
@ -156,9 +156,9 @@ CONFIG(debug, debug|release){
|
||||||
unix:QMAKE_CXXFLAGS_RELEASE += -g
|
unix:QMAKE_CXXFLAGS_RELEASE += -g
|
||||||
unix:macx{
|
unix:macx{
|
||||||
# On Mac
|
# On Mac
|
||||||
QMAKE_POST_LINK += gobjcopy --only-keep-debug $(DESTDIR)/$(TARGET) $(DESTDIR)/$(TARGET).debug &&
|
QMAKE_POST_LINK += gobjcopy --only-keep-debug $(DESTDIR)$(TARGET) $(DESTDIR)$(TARGET).debug &&
|
||||||
QMAKE_POST_LINK += strip --strip-debug --strip-unneeded $(DESTDIR)/$(TARGET) &&
|
QMAKE_POST_LINK += strip --strip-debug --strip-unneeded $(DESTDIR)$(TARGET) &&
|
||||||
QMAKE_POST_LINK += gobjcopy --add-gnu-debuglink $(DESTDIR)/$(TARGET).debug $(DESTDIR)/$(TARGET)
|
QMAKE_POST_LINK += gobjcopy --add-gnu-debuglink $(DESTDIR)$(TARGET).debug $(DESTDIR)$(TARGET)
|
||||||
} else {
|
} else {
|
||||||
# On Linux
|
# On Linux
|
||||||
unix:QMAKE_POST_LINK += objcopy --only-keep-debug $(DESTDIR)/$(TARGET) $(DESTDIR)/$(TARGET).debug &&
|
unix:QMAKE_POST_LINK += objcopy --only-keep-debug $(DESTDIR)/$(TARGET) $(DESTDIR)/$(TARGET).debug &&
|
||||||
|
|
Loading…
Reference in New Issue
Block a user