mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-14 08:26:57 +02:00
net-analyzer/openbsd-netcat: Sync with Gentoo
It's from Gentoo commit 502d9fddee36a8591daba07cbcdca75650209a4a.
This commit is contained in:
parent
2cacbea97b
commit
73f2b8ab01
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -47,7 +47,8 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
# gnu99 for bug #943711
|
||||
emake CC="$(tc-getCC) -std=gnu99" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
@ -47,7 +47,8 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" PKG_CONFIG="$(tc-getPKG_CONFIG)"
|
||||
# gnu99 for bug #943711
|
||||
emake CC="$(tc-getCC) -std=gnu99" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" PKG_CONFIG="$(tc-getPKG_CONFIG)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
Loading…
Reference in New Issue
Block a user