Skip to content

Commit dfecba3

Browse files
authored
Adjust Makefile for LLVM trunk (20) as of 2024-10-25 (#546)
llvm/llvm-project@1bc2cd9
1 parent 98897e2 commit dfecba3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -984,6 +984,8 @@ check-symbols: startup_files libc
984984
@# clang 16 for -mcpu=generic.
985985
@# TODO: Undefine __wasm_multivalue__ and __wasm_reference_types__, that are new to
986986
@# clang 19 for -mcpu=generic.
987+
@# TODO: Undefine __wasm_nontrapping_fptoint__ and __wasm_bulk_memory__, that are
988+
@# new to clang 20.
987989
@# TODO: As of clang 16, __GNUC_VA_LIST is #defined without a value.
988990
$(CC) $(CFLAGS) "$(SYSROOT_SHARE)/include-all.c" \
989991
-isystem $(SYSROOT_INC) \
@@ -1002,6 +1004,8 @@ check-symbols: startup_files libc
10021004
-U__wasm_sign_ext__ \
10031005
-U__wasm_multivalue__ \
10041006
-U__wasm_reference_types__ \
1007+
-U__wasm_nontrapping_fptoint__ \
1008+
$(if $(filter-out expected/wasm32-wasip1-threads,$(EXPECTED_TARGET_DIR)),-U__wasm_bulk_memory__) \
10051009
-U__GNUC__ \
10061010
-U__GNUC_MINOR__ \
10071011
-U__GNUC_PATCHLEVEL__ \

0 commit comments

Comments
 (0)