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:
committed by
Daniel Engberg
parent
a11f3cf1ac
commit
89bcc8c4a4
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user