net/dpdk-20.11: 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:
Bruce Richardson
2024-01-14 09:12:56 +01:00
committed by Daniel Engberg
parent a11f3cf1ac
commit 89bcc8c4a4

View File

@@ -31,6 +31,7 @@ SHEBANG_FILES= examples/ipsec-secgw/test/pkttest.py \
usertools/dpdk-telemetry.py
MESON_ARGS= -Ddefault_library=shared \
-Denable_kmods=true \
-Dc_link_args=-Wl,--undefined-version \
-Dmachine=default
WRKSRC= ${WRKDIR}/${PORTNAME}-stable-${PORTVERSION}