Merge pull request #13 from podarok/add_mpp_ffmpeg_arm64

fix(review): remove unsupported optimizations
This commit is contained in:
Andrii Podanenko 2023-03-27 12:29:50 +03:00 committed by GitHub
commit 9e71434ec2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ apt-get -qq update
apt-get -yqq build-dep nginx
# TODO: move all apt-get installs to dedicated script for having it in a single Docker layer = performance of reruns.
apt-get -yqq install --no-install-recommends ca-certificates wget libaio-dev
apt-get -yqq install --no-install-recommends ca-certificates wget libaio-dev libpcre3 libpcre3-dev
update-ca-certificates -f
mkdir /tmp/nginx
wget -nv https://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz
@ -57,7 +57,7 @@ ARCH=$(uname -m)
CC_OPT="-O3 -Wno-error=implicit-fallthrough"
if [ "$ARCH" = "aarch64" ]; then
CC_OPT="${CC_OPT} -march=armv8-a+crc -mfpu=neon-fp-armv8 -mfloat-abi=hard"
CC_OPT="${CC_OPT} -march=armv8-a+crc"
fi
./configure --prefix=/usr/local/nginx \