mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 23:07:59 +00:00
Make sure asserts are disabled in release mode
This commit is contained in:
parent
2f06099518
commit
0241fa7593
3
configure
vendored
3
configure
vendored
@ -345,6 +345,9 @@ public:
|
|||||||
// Debug mode
|
// Debug mode
|
||||||
if(!conf->getenv("QC_ENABLE_DEBUG").isEmpty()) {
|
if(!conf->getenv("QC_ENABLE_DEBUG").isEmpty()) {
|
||||||
conf->addExtra("CONFIG += debug");
|
conf->addExtra("CONFIG += debug");
|
||||||
|
} else {
|
||||||
|
conf->addExtra("CONFIG -= debug");
|
||||||
|
conf->addExtra("CONFIG += release");
|
||||||
}
|
}
|
||||||
#ifdef Q_OS_FREEBSD
|
#ifdef Q_OS_FREEBSD
|
||||||
conf->addLib("-lexecinfo");
|
conf->addLib("-lexecinfo");
|
||||||
|
@ -20,6 +20,9 @@ public:
|
|||||||
// Debug mode
|
// Debug mode
|
||||||
if(!conf->getenv("QC_ENABLE_DEBUG").isEmpty()) {
|
if(!conf->getenv("QC_ENABLE_DEBUG").isEmpty()) {
|
||||||
conf->addExtra("CONFIG += debug");
|
conf->addExtra("CONFIG += debug");
|
||||||
|
} else {
|
||||||
|
conf->addExtra("CONFIG -= debug");
|
||||||
|
conf->addExtra("CONFIG += release");
|
||||||
}
|
}
|
||||||
#ifdef Q_OS_FREEBSD
|
#ifdef Q_OS_FREEBSD
|
||||||
conf->addLib("-lexecinfo");
|
conf->addLib("-lexecinfo");
|
||||||
|
Loading…
Reference in New Issue
Block a user