Skip to content

Commit

Permalink
Revert "[clang][riscv] add -menable-experimental-extensions"
Browse files Browse the repository at this point in the history
This reverts commit 37c3228.

Decided it's probably not worth maintaining this and simply removed this
particular build combination (clang 13 + riscv) from the build matrix.
  • Loading branch information
travisg committed Apr 8, 2024
1 parent 1ae8bf6 commit f7b694e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions engine.mk
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ ifeq ($(ARCH),arm64)
ifeq ($(call is_warning_flag_supported,-Wasm-operand-widths),yes)
ARCH_COMPILEFLAGS += -Wno-asm-operand-widths
endif
endif # arm64
endif

ifeq ($(ARCH),riscv)
# ld.lld does not support linker relaxations yet.
Expand All @@ -240,13 +240,7 @@ ifeq ($(COMPILER_TYPE),clang)
ARCH_COMPILEFLAGS += -fPIE -fdirect-access-external-data
endif
endif

ifeq ($(COMPILER_TYPE),clang)
# zba extension is reported as not supported on clang-13. Add this switch to squelch
# the failure. TODO: gate this on a version check.
ARCH_COMPILEFLAGS += -menable-experimental-extensions
endif
endif # riscv

$(info PROJECT = $(PROJECT))
$(info PLATFORM = $(PLATFORM))
Expand Down

0 comments on commit f7b694e

Please sign in to comment.