Disable additional GCC keys on Windows system.
--HG-- branch : develop
This commit is contained in:
parent
b970a54051
commit
5388285b63
|
@ -64,6 +64,7 @@ win32-msvc* {
|
|||
|
||||
CONFIG(debug, debug|release){
|
||||
# Debug
|
||||
unix {
|
||||
*-g++{
|
||||
QMAKE_CXXFLAGS += -isystem "/usr/include/qt5" -isystem "/usr/include/qt5/QtWidgets" \
|
||||
-isystem "/usr/include/qt5/QtXml" -isystem "/usr/include/qt5/QtGui" \
|
||||
|
@ -79,6 +80,11 @@ CONFIG(debug, debug|release){
|
|||
-Wlogical-op -Wnoexcept \
|
||||
-Wstrict-null-sentinel -Wstrict-overflow=5 -Wundef -Wno-unused -gdwarf-3
|
||||
}
|
||||
} else {
|
||||
*-g++{#Don't use additional GCC keys on Windows system.
|
||||
QMAKE_CXXFLAGS += -Og -Wall -Wextra -pedantic
|
||||
}
|
||||
}
|
||||
}else{
|
||||
# Release
|
||||
*-g++{
|
||||
|
|
Loading…
Reference in New Issue
Block a user