Fix backtrace generation on Mingw: to resolve local functions we need to export them

This commit is contained in:
Nick Tiskov 2014-11-27 22:08:16 +03:00
parent ba9f6a3531
commit cb60519c44

View File

@ -4,10 +4,9 @@ strace_win:{
QMAKE_CXXFLAGS_RELEASE += -fno-omit-frame-pointer QMAKE_CXXFLAGS_RELEASE += -fno-omit-frame-pointer
QMAKE_CXXFLAGS_DEBUG += -fno-omit-frame-pointer QMAKE_CXXFLAGS_DEBUG += -fno-omit-frame-pointer
} }
release:{
#QMAKE_CXXFLAGS_RELEASE += -g QMAKE_LFLAGS += -Wl,--export-all-symbols
#QMAKE_LFLAGS_RELEASE -= -Wl,-s
}
LIBS += libdbghelp LIBS += libdbghelp
} }