Fixed problem building on Windows 7.
--HG-- branch : develop
This commit is contained in:
parent
8570a797e6
commit
acc65ed3be
|
@ -146,7 +146,7 @@ CONFIG(debug, debug|release){
|
|||
# Release
|
||||
DEFINES += QT_NO_DEBUG_OUTPUT
|
||||
|
||||
QMAKE_CXXFLAGS_RELEASE += -g
|
||||
unix:QMAKE_CXXFLAGS_RELEASE += -g
|
||||
|
||||
#local revision number for using in version
|
||||
HG_REV=$$system(hg parents --template '{rev}')
|
||||
|
|
|
@ -107,8 +107,7 @@ CONFIG(debug, debug|release){
|
|||
# Release
|
||||
DEFINES += QT_NO_DEBUG_OUTPUT
|
||||
|
||||
QMAKE_CXXFLAGS_RELEASE += -g
|
||||
|
||||
unix:QMAKE_CXXFLAGS_RELEASE += -g
|
||||
unix:QMAKE_POST_LINK += objcopy --only-keep-debug $(DESTDIR)/$(TARGET) $(DESTDIR)/$(TARGET).debug &&
|
||||
unix:QMAKE_POST_LINK += strip --strip-debug --strip-unneeded $(DESTDIR)/$(TARGET) &&
|
||||
unix:QMAKE_POST_LINK += objcopy --add-gnu-debuglink $(DESTDIR)/$(TARGET).debug $(DESTDIR)/$(TARGET)
|
||||
|
|
|
@ -150,8 +150,7 @@ CONFIG(debug, debug|release){
|
|||
# Release
|
||||
DEFINES += QT_NO_DEBUG_OUTPUT
|
||||
|
||||
QMAKE_CXXFLAGS_RELEASE += -g
|
||||
|
||||
unix:QMAKE_CXXFLAGS_RELEASE += -g
|
||||
unix:QMAKE_POST_LINK += objcopy --only-keep-debug $(DESTDIR)/$(TARGET) $(DESTDIR)/$(TARGET).debug &&
|
||||
unix:QMAKE_POST_LINK += strip --strip-debug --strip-unneeded $(DESTDIR)/$(TARGET) &&
|
||||
unix:QMAKE_POST_LINK += objcopy --add-gnu-debuglink $(DESTDIR)/$(TARGET).debug $(DESTDIR)/$(TARGET)
|
||||
|
|
Loading…
Reference in New Issue
Block a user