mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
extra/nginx-mainline: v8 fix
This commit is contained in:
parent
4f3d2db2e9
commit
00e0822e9e
1 changed files with 2 additions and 2 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue