extra/nginx-mainline: v8 fix

This commit is contained in:
Kevin Mihelich 2016-05-26 12:56:57 +00:00
parent 4f3d2db2e9
commit 00e0822e9e

View file

@ -4,7 +4,7 @@
# Contributor: Drew DeVault
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - build armv7h with -fPIC
# - build armv7h and aarch64 with -fPIC
pkgname=nginx-mainline
pkgver=1.11.0
@ -66,7 +66,7 @@ _mainline_flags=(
build() {
cd $provides-$pkgver
[[ $CARCH == "armv7h" ]] && CFLAGS+=" -fPIC" && CXXFLAGS+=" -fPIC"
[[ $CARCH == "armv7h" || $CARCH == "aarch64" ]] && CFLAGS+=" -fPIC" && CXXFLAGS+=" -fPIC"
./configure \
--prefix=/etc/nginx \
--conf-path=/etc/nginx/nginx.conf \