Skip to content

Commit

Permalink
fix version parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
colluca committed Sep 11, 2023
1 parent a2a6b35 commit 94437f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target/snitch_cluster/sw/toolchain.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ DEBUG ?= OFF # ON to turn on debugging symbols

# Compiler toolchain
LLVM_BINROOT ?= $(dir $(shell which riscv32-unknown-elf-clang))
LLVM_VER ?= $(subst git,,$(shell $(LLVM_BINROOT)/llvm-config --version))
LLVM_VER ?= $(shell $(LLVM_BINROOT)/llvm-config --version | cut -d '-' -f 1)
RISCV_CC ?= $(LLVM_BINROOT)/clang
RISCV_LD ?= $(LLVM_BINROOT)/ld.lld
RISCV_AR ?= $(LLVM_BINROOT)/llvm-ar
Expand Down

0 comments on commit 94437f1

Please sign in to comment.