aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-09 19:50:58 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-10 03:07:07 +0000
commit80b1c4bc0b8a88ad34cc88a972deaad90ae659ce (patch)
treeeae638caf395e2c0c34e32a8d105fd00864174d6 /main
parent0a91f5dde1f9587532854846136679428a86bfaa (diff)
downloadaports-80b1c4bc0b8a88ad34cc88a972deaad90ae659ce.tar.gz
aports-80b1c4bc0b8a88ad34cc88a972deaad90ae659ce.tar.bz2
aports-80b1c4bc0b8a88ad34cc88a972deaad90ae659ce.tar.xz
main/lzip: honour C{PP/XX}FLAGS during build
Diffstat (limited to 'main')
-rw-r--r--main/lzip/APKBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/main/lzip/APKBUILD b/main/lzip/APKBUILD
index 0f1c98b429..e6395f1ed1 100644
--- a/main/lzip/APKBUILD
+++ b/main/lzip/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=lzip
pkgver=1.19
-pkgrel=1
+pkgrel=2
pkgdesc="Lzip is a lossless data compressor"
url="http://www.nongnu.org/lzip/lzip.html"
arch="all"
@@ -14,7 +14,12 @@ builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --prefix=/usr \
+ CXX="${CXX-g++}" \
+ CPPFLAGS="${CPPFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
make
}