Skip to content

Commit abee26d

Browse files
bedrogegkaf89
authored andcommitted
also remove unsupported flags for loose and veryloose on RISC-V
1 parent b90ecff commit abee26d

File tree

1 file changed

+2
-0
lines changed
  • easybuild/toolchains/compiler

1 file changed

+2
-0
lines changed

easybuild/toolchains/compiler/gcc.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ class Gcc(Compiler):
8484
if systemtools.get_cpu_family() == systemtools.RISCV:
8585
COMPILER_UNIQUE_OPTION_MAP['strict'] = []
8686
COMPILER_UNIQUE_OPTION_MAP['precise'] = []
87+
COMPILER_UNIQUE_OPTION_MAP['loose'] = ['fno-math-errno']
88+
COMPILER_UNIQUE_OPTION_MAP['verloose'] = ['fno-math-errno']
8789

8890
# used when 'optarch' toolchain option is enabled (and --optarch is not specified)
8991
COMPILER_OPTIMAL_ARCHITECTURE_OPTION = {

0 commit comments

Comments
 (0)