Skip to content

Commit

Permalink
[make] remove an undefine, unsupported on older gnu makes
Browse files Browse the repository at this point in the history
It wasn't really that important anyway, was just a general nicety in the
riscv rules.mk
  • Loading branch information
travisg committed May 10, 2024
1 parent 3c71b66 commit 356e9ad
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/riscv/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,6 @@ else
$(error SUBARCH not set or set to something unknown)
endif

undefine RISCV_MARCH_EXTENSIONS

# test to see if -misa-spec=2.2 is a valid switch.
# misa-spec is added to make sure the compiler picks up the zicsr extension by default.
MISA_SPEC := $(shell $(TOOLCHAIN_PREFIX)gcc $(ARCH_COMPILEFLAGS) -misa-spec=2.2 -E - < /dev/null > /dev/null 2>1 && echo supported)
Expand Down

0 comments on commit 356e9ad

Please sign in to comment.