Skip to content

Commit

Permalink
Told QEMU configure to use atomic
Browse files Browse the repository at this point in the history
  • Loading branch information
wtdcode committed Dec 28, 2023
1 parent e5fa037 commit 0406407
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0406407

Please sign in to comment.