mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 02:40:14 +00:00
configure.ac: incl -latomic on 32b aarch64 builds
\-latomic is needed to prevent errors: ``` undefined reference to `__atomic_load_8' ```` even if target_cpu is aarch64 but building on 32-bit Raspberry Pi OS (which is still default).
This commit is contained in:
@@ -208,7 +208,8 @@ if test $target_cpu = x86_64 -o $target_cpu = i686
|
||||
then
|
||||
ARCH=${ARCH--msse4.1}
|
||||
fi
|
||||
if test $target_cpu = armv7l
|
||||
if test $target_cpu = armv7l || { test $target_cpu = aarch64 && \
|
||||
test $ac_cv_sizeof_int_p -eq 4; }
|
||||
then
|
||||
LIBS="${LIBS:+$LIBS }-latomic" # needed for atomic_uint64_t
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user