mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-06 19:20:45 +00:00
remove unsupported compile option for old compilers
This commit is contained in:
parent
6d338ac88f
commit
efa7c7d313
@ -476,7 +476,13 @@ QMAKE_CXXFLAGS += -Wno-error=deprecated-declarations
|
|||||||
memdebug {
|
memdebug {
|
||||||
!win32 { # add memory checking on Linux and macOS debug builds
|
!win32 { # add memory checking on Linux and macOS debug builds
|
||||||
QMAKE_CFLAGS += -g -Werror -fsanitize=address -fno-omit-frame-pointer -fno-common -fsanitize-address-use-after-scope
|
QMAKE_CFLAGS += -g -Werror -fsanitize=address -fno-omit-frame-pointer -fno-common -fsanitize-address-use-after-scope
|
||||||
|
lessThan(QT_MAJOR_VERSION,5)|lessThan(QT_MINOR_VERSION,9) {
|
||||||
|
QMAKE_CFLAGS -= -fsanitize-address-use-after-scope
|
||||||
|
}
|
||||||
QMAKE_CXXFLAGS += -g -Werror -fsanitize=address -fno-omit-frame-pointer -fno-common -fsanitize-address-use-after-scope
|
QMAKE_CXXFLAGS += -g -Werror -fsanitize=address -fno-omit-frame-pointer -fno-common -fsanitize-address-use-after-scope
|
||||||
|
lessThan(QT_MAJOR_VERSION,5)|lessThan(QT_MINOR_VERSION,9) {
|
||||||
|
QMAKE_CXXFLAGS -= -fsanitize-address-use-after-scope
|
||||||
|
}
|
||||||
QMAKE_LFLAGS += -fsanitize=address
|
QMAKE_LFLAGS += -fsanitize=address
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user