Nowadays, the ISA (A64/C64) is deduced from -mabi. Clang now warns if +c64 is passed in -march, so let's drop it.
Signed-off-by: Kevin Brodsky kevin.brodsky@arm.com --- tools/testing/selftests/arm64/morello/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/arm64/morello/Makefile b/tools/testing/selftests/arm64/morello/Makefile index 7b794d3e436c..f970f3c58917 100644 --- a/tools/testing/selftests/arm64/morello/Makefile +++ b/tools/testing/selftests/arm64/morello/Makefile @@ -10,7 +10,7 @@ ifneq ($(LLVM),) CLANG_LDFLAGS = -fuse-ld=lld endif
-CFLAGS_PURECAP = -march=morello+c64 -mabi=purecap +CFLAGS_PURECAP = -march=morello -mabi=purecap CFLAGS_COMMON = -ffreestanding -Wextra -MMD CFLAGS_COMMON += -nostdinc -isystem $(shell $(CC) -print-file-name=include 2>/dev/null) CFLAGS += $(CLANG_FLAGS) $(CFLAGS_PURECAP) $(CFLAGS_COMMON)