mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +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
|
# Contributor: Drew DeVault
|
||||||
|
|
||||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
# - build armv7h with -fPIC
|
# - build armv7h and aarch64 with -fPIC
|
||||||
|
|
||||||
pkgname=nginx-mainline
|
pkgname=nginx-mainline
|
||||||
pkgver=1.11.0
|
pkgver=1.11.0
|
||||||
|
@ -66,7 +66,7 @@ _mainline_flags=(
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $provides-$pkgver
|
cd $provides-$pkgver
|
||||||
[[ $CARCH == "armv7h" ]] && CFLAGS+=" -fPIC" && CXXFLAGS+=" -fPIC"
|
[[ $CARCH == "armv7h" || $CARCH == "aarch64" ]] && CFLAGS+=" -fPIC" && CXXFLAGS+=" -fPIC"
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/etc/nginx \
|
--prefix=/etc/nginx \
|
||||||
--conf-path=/etc/nginx/nginx.conf \
|
--conf-path=/etc/nginx/nginx.conf \
|
||||||
|
|
Loading…
Reference in a new issue