mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
netsniff-ng: needs -fcommon for gcc10
[ci skip]
This commit is contained in:
parent
190bc2b5be
commit
07da2ce28e
1 changed files with 5 additions and 0 deletions
|
@ -14,6 +14,8 @@ homepage="http://netsniff-ng.org/"
|
||||||
distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
|
distfiles="http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${version}.tar.gz"
|
||||||
checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
|
checksum=0a7092937209585b361400493d81ea1123a529494203824c0cd8e95562072c5e
|
||||||
|
|
||||||
|
CFLAGS="-fcommon"
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
vsed -i "s|/sbin|/bin|g" Makefile
|
vsed -i "s|/sbin|/bin|g" Makefile
|
||||||
}
|
}
|
||||||
|
@ -24,6 +26,9 @@ pre_configure() {
|
||||||
export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
|
export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||||
|
}
|
||||||
|
|
||||||
pre_install() {
|
pre_install() {
|
||||||
vmkdir usr/bin
|
vmkdir usr/bin
|
||||||
|
|
Loading…
Add table
Reference in a new issue