summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcore/xmake.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/xmake.sh b/core/xmake.sh
index 9e5b07b7a..f36f92dd7 100755
--- a/core/xmake.sh
+++ b/core/xmake.sh
@@ -196,6 +196,9 @@ option_find_tbox() {
fi
add_cflags "${cflags}"
add_ldflags "${ldflags}"
+ if is_plat "linux" && is_arch "armv7"; then
+ add_ldflags "-latomic"
+ fi
option_end
}