diff options
| author | ruki <[email protected]> | 2023-10-26 00:52:25 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-10-26 00:52:25 +0800 |
| commit | ef20823ff7f4d6dee6d5d4779280b5382d8dc3a1 (patch) | |
| tree | b346ddf1bc81e040ea1bfacbb5fe80436aadb372 | |
| parent | b0aefd8798e906ff78e41f6f0d1d086993a09893 (diff) | |
improve to find tbox
| -rwxr-xr-x | core/xmake.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/xmake.sh b/core/xmake.sh index f36f92dd7..e17dee160 100755 --- a/core/xmake.sh +++ b/core/xmake.sh @@ -196,7 +196,8 @@ option_find_tbox() { fi add_cflags "${cflags}" add_ldflags "${ldflags}" - if is_plat "linux" && is_arch "armv7"; then + # ubuntu armv7/armel maybe need it + if is_plat "linux" && is_arch "armv7" "arm"; then add_ldflags "-latomic" fi option_end |
