aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-12-26 11:33:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-12-26 11:33:08 +0000
commitde58dbca9b4abbb3196a8eea659663b3ceb11c1a (patch)
treef4c0772ce34fc6acf46fe9995eac071f4a1e3c6f
parent2e3d4976eeffb4704cf83e2cc3306293b7c7b2e9 (diff)
downloadaports-de58dbca9b4abbb3196a8eea659663b3ceb11c1a.tar.gz
aports-de58dbca9b4abbb3196a8eea659663b3ceb11c1a.tar.bz2
aports-de58dbca9b4abbb3196a8eea659663b3ceb11c1a.tar.xz
main/argp-standalone: avoid modify CFLAGS in global scope
-rw-r--r--main/argp-standalone/APKBUILD3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/argp-standalone/APKBUILD b/main/argp-standalone/APKBUILD
index a6bf39acd0..0870342f8f 100644
--- a/main/argp-standalone/APKBUILD
+++ b/main/argp-standalone/APKBUILD
@@ -13,14 +13,13 @@ source="http://www.lysator.liu.se/~nisse/misc/argp-standalone-$pkgver.tar.gz
gnu89-inline.patch
"
-export CFLAGS="$CFLAGS -fPIC"
-
prepare() {
default_prepare
autoreconf -vif
}
build() {
+ CFLAGS="$CFLAGS -fPIC" \
./configure \
--build=$CBUILD \
--host=$CHOST \