mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +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"
|
url="https://github.com/robertdavidgraham/masscan"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="AGPL-3.0"
|
license="AGPL-3.0"
|
||||||
depends="libpcap"
|
makedepends="libpcap-dev linux-headers"
|
||||||
makedepends="clang-dev libpcap-dev linux-headers"
|
|
||||||
source="$pkgname-$pkgver.tar.gz::https://github.com/robertdavidgraham/$pkgname/archive/$pkgver.tar.gz"
|
source="$pkgname-$pkgver.tar.gz::https://github.com/robertdavidgraham/$pkgname/archive/$pkgver.tar.gz"
|
||||||
builddir="$srcdir/$pkgname-$pkgver"
|
builddir="$srcdir/$pkgname-$pkgver"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
make
|
make CC="${CC:-gcc}" CFLAGS="${CFLAGS} -I."
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
|
Loading…
Reference in New Issue
Block a user