testing/masscan: respect CC and CFLAGS

use system compiler and system CFLAGS
This commit is contained in:
Natanael Copa 2018-03-26 18:29:35 +00:00
parent 4be0ed78e4
commit df0131d3a5

View File

@ -7,14 +7,13 @@ pkgdesc="Mass IP port scanner - This is the fastest Internet port scanner."
url="https://github.com/robertdavidgraham/masscan"
arch="all"
license="AGPL-3.0"
depends="libpcap"
makedepends="clang-dev libpcap-dev linux-headers"
makedepends="libpcap-dev linux-headers"
source="$pkgname-$pkgver.tar.gz::https://github.com/robertdavidgraham/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
make
make CC="${CC:-gcc}" CFLAGS="${CFLAGS} -I."
}
check() {