Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust Makefile for LLVM trunk (20) as of 2024-10-25 #546

Merged
merged 1 commit into from
Nov 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -984,6 +984,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: As of clang 16, __GNUC_VA_LIST is #defined without a value.
$(CC) $(CFLAGS) "$(SYSROOT_SHARE)/include-all.c" \
-isystem $(SYSROOT_INC) \
Expand All @@ -1002,6 +1004,8 @@ check-symbols: startup_files libc
-U__wasm_sign_ext__ \
-U__wasm_multivalue__ \
-U__wasm_reference_types__ \
-U__wasm_nontrapping_fptoint__ \
$(if $(filter-out expected/wasm32-wasip1-threads,$(EXPECTED_TARGET_DIR)),-U__wasm_bulk_memory__) \
-U__GNUC__ \
-U__GNUC_MINOR__ \
-U__GNUC_PATCHLEVEL__ \
Expand Down