mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
testing/firejail: don't override our CFLAGS
This commit is contained in:
parent
6e966d162d
commit
cab4a2f6d9
@ -3,7 +3,7 @@
|
||||
pkgname=firejail
|
||||
pkgver=0.9.42_rc1
|
||||
_pkgver=${pkgver//_/-}
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Linux namespaces and seccomp-bpf sandbox"
|
||||
url="https://firejail.wordpress.com/"
|
||||
arch="all !armhf"
|
||||
@ -17,6 +17,13 @@ subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/netblue30/$pkgname/archive/$_pkgver.tar.gz"
|
||||
|
||||
builddir="$srcdir"/$pkgname-$_pkgver
|
||||
prepare() {
|
||||
default_prepare || return 1
|
||||
find "$builddir" -name Makefile.in -exec sed -i -r \
|
||||
-e '/CFLAGS/s: (-O2|-ggdb) : :g' \
|
||||
-e '1iCC=@CC@' {} + || die
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
./configure \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user