Commit cab4a2f6 authored by Sören Tempel's avatar Sören Tempel

testing/firejail: don't override our CFLAGS

parent 6e966d16
......@@ -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 \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment