mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
Merge 701daf7690 into 82d322c497
This commit is contained in:
commit
6f037492aa
1 changed files with 7 additions and 0 deletions
7
Makefile
7
Makefile
|
|
@ -37,6 +37,13 @@ else
|
|||
EXT =
|
||||
endif
|
||||
|
||||
# Detect if the architecture is RISC-V (native build)
|
||||
UNAME_M ?= $(shell uname -m)
|
||||
ifneq (,$(filter riscv%,$(UNAME_M)))
|
||||
MOREFLAGS += -mno-strict-align
|
||||
export MOREFLAGS
|
||||
endif
|
||||
|
||||
## default: Build lib-release and zstd-release
|
||||
.PHONY: default
|
||||
default: lib-release zstd-release
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue