Skip to content

Commit 05c849e

Browse files
committed
Add libatomic1 when building on linux/arm/v5.
1 parent 10db263 commit 05c849e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

scripts/build/get-arch-buildargs.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/sh
22

33
set -e
4+
set -x
45

56
platformopts() {
67
out=""
@@ -11,6 +12,20 @@ platformopts() {
1112
echo "QEMU_CPU=cortex-a53"
1213
;;
1314
esac
15+
;;
16+
debian:*)
17+
case "${TARGETPLATFORM}" in
18+
linux/arm/v5)
19+
if [ -z "${LIBS}" ]
20+
then
21+
echo "LIBS=-latomic"
22+
else
23+
echo "LIBS=${LIBS} -latomic"
24+
fi
25+
echo "LIB_DEPS=${LIB_DEPS} libatomic1"
26+
;;
27+
esac
28+
;;
1429
esac
1530
}
1631

0 commit comments

Comments
 (0)