mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-23 09:49:52 +00:00
Add windows-clang support (#15115)
This allows to build with clang targeting x86_64-w64-windows-gnu.
This commit is contained in:
parent
f5315d9ba7
commit
f6eb29d800
@ -23,7 +23,7 @@ else {
|
||||
DEFINES += NDEBUG
|
||||
}
|
||||
|
||||
win32-g++* {
|
||||
win32-g++*|win32-clang-g++* {
|
||||
CONFIG(debug, debug|release) {
|
||||
# Make sure binary is not relocatable, otherwise debugging will fail
|
||||
QMAKE_LFLAGS -= -Wl,--dynamicbase
|
||||
@ -58,7 +58,7 @@ else {
|
||||
|
||||
# Stack trace support can be enabled in 'conf.pri'
|
||||
stacktrace {
|
||||
win32-g++* {
|
||||
win32-g++*|win32-clang-g++* {
|
||||
contains(QMAKE_HOST.arch, x86) {
|
||||
# i686 arch requires frame pointer preservation
|
||||
QMAKE_CXXFLAGS += -fno-omit-frame-pointer
|
||||
|
Loading…
Reference in New Issue
Block a user