mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
net/dpdk: Fix build warnings about symbols in version map file
The latest versions of ld are throwing warnings/errors about entries in the linker script that don't exist in the actual build. For DPDK, there are functions in the linker script (version.map) which only exist on Linux (and sometimes only on Windows) but not on BSD. To avoid warnings/errors, we can restore old behaviour by adding the "-Wl,--undefined-version" flag to the build. PR: 276277
This commit is contained in:
parent
03dfdf4987
commit
a11f3cf1ac
@ -44,6 +44,7 @@ DPDK_CPUTYPE=default
|
||||
|
||||
MESON_ARGS= -Ddefault_library=shared \
|
||||
-Denable_kmods=true \
|
||||
-Dc_link_args=-Wl,--undefined-version \
|
||||
-Dmachine=${DPDK_CPUTYPE}
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-stable-${DISTVERSION}
|
||||
|
Loading…
Reference in New Issue
Block a user