Adjust Makefile for LLVM trunk (20) as of 2024-12-02 (#556)

c3536b263f
This commit is contained in:
Mike Hommey 2024-12-10 08:51:08 +09:00 committed by GitHub
parent 2b853ff079
commit 574b88da48
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -896,8 +896,8 @@ check-symbols: $(STARTUP_FILES) libc
@# clang 16 for -mcpu=generic. @# clang 16 for -mcpu=generic.
@# TODO: Undefine __wasm_multivalue__ and __wasm_reference_types__, that are new to @# TODO: Undefine __wasm_multivalue__ and __wasm_reference_types__, that are new to
@# clang 19 for -mcpu=generic. @# clang 19 for -mcpu=generic.
@# TODO: Undefine __wasm_nontrapping_fptoint__ and __wasm_bulk_memory__, that are @# TODO: Undefine __wasm_nontrapping_fptoint__, __wasm_bulk_memory__ and
@# new to clang 20. @# __wasm_bulk_memory_opt__, that are new to clang 20.
@# TODO: As of clang 16, __GNUC_VA_LIST is #defined without a value. @# TODO: As of clang 16, __GNUC_VA_LIST is #defined without a value.
$(CC) $(CFLAGS) "$(SYSROOT_SHARE)/include-all.c" \ $(CC) $(CFLAGS) "$(SYSROOT_SHARE)/include-all.c" \
-isystem $(SYSROOT_INC) \ -isystem $(SYSROOT_INC) \
@ -918,6 +918,7 @@ check-symbols: $(STARTUP_FILES) libc
-U__wasm_reference_types__ \ -U__wasm_reference_types__ \
-U__wasm_nontrapping_fptoint__ \ -U__wasm_nontrapping_fptoint__ \
$(if $(filter-out expected/wasm32-wasip1-threads,$(EXPECTED_TARGET_DIR)),-U__wasm_bulk_memory__) \ $(if $(filter-out expected/wasm32-wasip1-threads,$(EXPECTED_TARGET_DIR)),-U__wasm_bulk_memory__) \
-U__wasm_bulk_memory_opt__ \
-U__GNUC__ \ -U__GNUC__ \
-U__GNUC_MINOR__ \ -U__GNUC_MINOR__ \
-U__GNUC_PATCHLEVEL__ \ -U__GNUC_PATCHLEVEL__ \