mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-29 19:18:42 -07:00
Fix backtrace generation on Mingw: to resolve local functions we need to export them
This commit is contained in:
parent
ba9f6a3531
commit
cb60519c44
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue