Enable LC_DEBUG for debug builds
This commit is contained in:
parent
cf3cbd627d
commit
4caa7ec749
1 changed files with 5 additions and 0 deletions
|
|
@ -60,6 +60,11 @@ INCLUDEPATH += \
|
|||
CONFIG += warn_off staticlib
|
||||
DEFINES += HAS_SOCKLEN_T
|
||||
|
||||
debug {
|
||||
# Enable asserts on debug builds
|
||||
DEFINES += LC_DEBUG
|
||||
}
|
||||
|
||||
# Older GCC versions defaulted to GNU89
|
||||
*-g++ {
|
||||
QMAKE_CFLAGS += -std=gnu99
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue