Skip to content
Commit 14180854 authored by Sharaf Zaman's avatar Sharaf Zaman Committed by Amy spark
Browse files

Fix build on linux clang targets

In CheckAtomic.cmake we include is_lock_free because these routines
don't seem to be included in the compiler's "simple atomics". This
triggers a failure in clang toolchain, forcing it to link libatomic.

Resulting in error: ld.lld: error: undefined symbol: __atomic_is_lock_free

CCBUG:444247
CCBUG:444547
(cherry picked from commit 0b755bea)
parent ca4f0c8d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment