Update configure

fix build on aarch64, missing fPIC
This commit is contained in:
thowat
2022-11-18 12:25:00 +00:00
committed by GitHub
parent 68064e1017
commit ae15e4f7ac

8
configure vendored
View File

@@ -624,6 +624,14 @@ case "$cpu" in
armv4l|arm)
cpu="armv4l"
;;
aarch64)
cpu="aarch64"
if [ -z "`echo $CFLAGS | grep -- -m32`" ]; then
is_64="yes"
PIC_CFLAGS="-fPIC -DPIC"
want_pic="yes"
fi
;;
alpha)
cpu="alpha"
;;