Skip to content
This repository was archived by the owner on May 21, 2019. It is now read-only.

Commit 4fba9ac

Browse files
committed
Rust: triple.mk: properly filter out Clang-specific atomic* builtins
1 parent 94ee797 commit 4fba9ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

make/platform/triple.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ endif
2525
endif
2626

2727
# Filter out stuff that gcc cannot compile (these are only needed for clang-generated code anywasys).
28-
CommonFunctions_gcc := $(filter-out atomic enable_execute_stack,$(CommonFunctions))
28+
CommonFunctions_gcc := $(filter-out atomic% enable_execute_stack,$(CommonFunctions))
2929

3030
# Filter out stuff which is not available on specific target
3131
# For example, sync_fetch_and_add_4 uses Thumb instructions, which are unavailable

0 commit comments

Comments
 (0)