From 574b88da481569b65a237cb80daf9a2d5aeaf82d Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Tue, 10 Dec 2024 08:51:08 +0900 Subject: [PATCH] Adjust Makefile for LLVM trunk (20) as of 2024-12-02 (#556) https://github.com/llvm/llvm-project/commit/c3536b263f253a69fb336fb0617ee33a01a5c5dd --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 55f8023..00dd308 100644 --- a/Makefile +++ b/Makefile @@ -896,8 +896,8 @@ check-symbols: $(STARTUP_FILES) libc @# clang 16 for -mcpu=generic. @# TODO: Undefine __wasm_multivalue__ and __wasm_reference_types__, that are new to @# clang 19 for -mcpu=generic. - @# TODO: Undefine __wasm_nontrapping_fptoint__ and __wasm_bulk_memory__, that are - @# new to clang 20. + @# TODO: Undefine __wasm_nontrapping_fptoint__, __wasm_bulk_memory__ and + @# __wasm_bulk_memory_opt__, that are new to clang 20. @# TODO: As of clang 16, __GNUC_VA_LIST is #defined without a value. $(CC) $(CFLAGS) "$(SYSROOT_SHARE)/include-all.c" \ -isystem $(SYSROOT_INC) \ @@ -918,6 +918,7 @@ check-symbols: $(STARTUP_FILES) libc -U__wasm_reference_types__ \ -U__wasm_nontrapping_fptoint__ \ $(if $(filter-out expected/wasm32-wasip1-threads,$(EXPECTED_TARGET_DIR)),-U__wasm_bulk_memory__) \ + -U__wasm_bulk_memory_opt__ \ -U__GNUC__ \ -U__GNUC_MINOR__ \ -U__GNUC_PATCHLEVEL__ \