nginx-current: gotta go fast

This commit is contained in:
ptrcnull 2024-05-29 18:21:40 +02:00
parent c691be430d
commit 8f8d966115

View file

@ -1,7 +1,7 @@
# Maintainer: psykose <alice@ayaya.dev> # Maintainer: psykose <alice@ayaya.dev>
pkgname=nginx-current pkgname=nginx-current
pkgver=1.27.0 pkgver=1.27.0
pkgrel=0 pkgrel=1
pkgdesc="HTTP and reverse proxy server (current version)" pkgdesc="HTTP and reverse proxy server (current version)"
url="https://www.nginx.org/" url="https://www.nginx.org/"
arch="aarch64 x86_64" arch="aarch64 x86_64"
@ -44,7 +44,7 @@ export AR=llvm-ar
export NM=llvm-nm export NM=llvm-nm
export RANLIB=llvm-ranlib export RANLIB=llvm-ranlib
export CC=clang export CC=clang
export CFLAGS="$CFLAGS -flto" export CFLAGS="$CFLAGS -flto -O3"
# passed below # passed below
export LDFLAGS="$LDFLAGS -fuse-ld=lld -Wl,--icf=safe,--gc-sections,-z,pack-relative-relocs" export LDFLAGS="$LDFLAGS -fuse-ld=lld -Wl,--icf=safe,--gc-sections,-z,pack-relative-relocs"