mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-09 04:30:43 +00:00
revise test for compiler class
This commit is contained in:
parent
707ee7c717
commit
cc8d38f3b0
@ -534,7 +534,8 @@ gcc | clang {
|
||||
|
||||
message("$$QMAKE_CXX major version $$COMPILER_MAJOR")
|
||||
|
||||
equals($$QMAKE_CXX, "gcc") : {
|
||||
## equals($$QMAKE_CXX, "gcc") : { // guwess what! the name is really "g++"
|
||||
gcc {
|
||||
greaterThan(COMPILER_MAJOR, 10) : {
|
||||
QMAKE_CFLAGS += -Wno-error=stringop-overread
|
||||
QMAKE_CXXFLAGS += -Wno-error=stringop-overread
|
||||
|
Loading…
Reference in New Issue
Block a user