Skip to content

Commit

Permalink
also remove unsupported flags for loose and veryloose on RISC-V
Browse files Browse the repository at this point in the history
  • Loading branch information
bedroge authored Jul 15, 2024
1 parent 66ec1af commit 37858f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions easybuild/toolchains/compiler/gcc.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ class Gcc(Compiler):
if systemtools.get_cpu_family() == systemtools.RISCV:
COMPILER_UNIQUE_OPTION_MAP['strict'] = []
COMPILER_UNIQUE_OPTION_MAP['precise'] = []
COMPILER_UNIQUE_OPTION_MAP['loose'] = ['fno-math-errno']
COMPILER_UNIQUE_OPTION_MAP['verloose'] = ['fno-math-errno']

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

0 comments on commit 37858f1

Please sign in to comment.