mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
testing/masscan: respect CC and CFLAGS
use system compiler and system CFLAGS
This commit is contained in:
parent
4be0ed78e4
commit
df0131d3a5
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user