mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
testing/surf: respect our CFLAGS and LDFLAGS
This commit is contained in:
parent
8076e9a972
commit
66d7cd1b30
@ -1,3 +1,4 @@
|
|||||||
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
|
||||||
# Contributor: Orson Teodoro <orsonteodoro@hotmail.com>
|
# Contributor: Orson Teodoro <orsonteodoro@hotmail.com>
|
||||||
# Maintainer: Orson Teodoro <orsonteodoro@hotmail.com>
|
# Maintainer: Orson Teodoro <orsonteodoro@hotmail.com>
|
||||||
pkgname=surf
|
pkgname=surf
|
||||||
@ -14,6 +15,13 @@ source="$pkgname-$pkgver.tar.gz::https://dl.suckless.org/$pkgname/$pkgname-$pkgv
|
|||||||
builddir="$srcdir/"$pkgname-$pkgver
|
builddir="$srcdir/"$pkgname-$pkgver
|
||||||
subpackages="$pkgname-doc"
|
subpackages="$pkgname-doc"
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
default_prepare
|
||||||
|
sed -i -e '/CFLAGS/{s/-Os//;s/=/+=/}' \
|
||||||
|
-e '/LDFLAGS/{s/-s//;s/=/+=/}' \
|
||||||
|
"$builddir"/config.mk
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
make
|
make
|
||||||
|
Loading…
Reference in New Issue
Block a user