Skip to content

Commit 0406407

Browse files
committed
Told QEMU configure to use atomic
1 parent e5fa037 commit 0406407

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,9 @@ else()
289289
if(UNICORN_TRACER)
290290
set (EXTRA_CFLAGS "${EXTRA_CFLAGS} -DUNICORN_TRACER")
291291
endif()
292+
if (ATOMIC_LINKAGE_FIX)
293+
set (EXTRA_CFLAGS "${EXTRA_CFLAGS} -latomic")
294+
endif()
292295

293296
set(TARGET_LIST "--target-list=")
294297
if(UNICORN_HAS_X86)

0 commit comments

Comments
 (0)