diff --git a/brian2/codegen/cpp_prefs.py b/brian2/codegen/cpp_prefs.py index 458359ae0..2dd4299b0 100644 --- a/brian2/codegen/cpp_prefs.py +++ b/brian2/codegen/cpp_prefs.py @@ -124,7 +124,7 @@ "-mtune=native", "-std=c++11", ] - elif re.match("^(parisc.*|riscv.*|mips.*)$", machine): + elif re.match("^(parisc.*|riscv.*|mips.*|loong64.*)$", machine): default_buildopts = [ "-w", "-O3",