Told QEMU configure to use atomic

This commit is contained in:
lazymio 2023-12-29 00:55:32 +08:00
parent e5fa037aeb
commit 0406407213
No known key found for this signature in database
GPG Key ID: DFF27E34A47CB873

View File

@ -289,6 +289,9 @@ else()
if(UNICORN_TRACER)
set (EXTRA_CFLAGS "${EXTRA_CFLAGS} -DUNICORN_TRACER")
endif()
if (ATOMIC_LINKAGE_FIX)
set (EXTRA_CFLAGS "${EXTRA_CFLAGS} -latomic")
endif()
set(TARGET_LIST "--target-list=")
if(UNICORN_HAS_X86)