git: db793044a347 - main - audio/alsa-lib: fix build with lld 17
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 21 Sep 2023 15:46:32 UTC
The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=db793044a347c8c5a827a6b4b5a2ee9395667e3c commit db793044a347c8c5a827a6b4b5a2ee9395667e3c Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-09-21 15:25:54 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-09-21 15:46:12 +0000 audio/alsa-lib: fix build with lld 17 Some symbols in the linker version script Versions.in are only defined when --enable-alisp is used at configure time. Suppress errors with lld >= 17 due to these undefined symbols. PR: 273753 MFH: 2023Q3 --- audio/alsa-lib/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/audio/alsa-lib/Makefile b/audio/alsa-lib/Makefile index 26aa34b834be..e4f3ceec6dbf 100644 --- a/audio/alsa-lib/Makefile +++ b/audio/alsa-lib/Makefile @@ -27,6 +27,10 @@ TEST_ENV= ${MAKE_ENV} \ ALSA_CONFIG_PATH="${FILESDIR}/asound.conf.sample" TEST_TARGET= check CPPFLAGS+= -I${FILESDIR} +# Some symbols in the linker version script Versions.in are only defined when +# --enable-alisp is used at configure time. Suppress errors with lld >= 17 due +# to these undefined symbols. +LDFLAGS+= -Wl,--undefined-version OPTIONS_DEFINE= PYTHON OPTIONS_SUB= yes