mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
security/heimdal: fix with stock clang >= 16
Upstream clang >= 16 made -Wimplicit-function-declaration into an error by default. In the base system, this change was reverted to reduce the fallout in ports, because there are many problematic configure scripts. For security/heimdal this also applies, so for building the port with devel/llvm16 or higher we need to add -Wno-implicit-function-declaration to CFLAGS. While here, use LDFLAGS+= for -Wl,--undefined-version, to avoid overwriting any user-specified LDFLAGS. PR: 283131 Approved by: maintainer timeout (2 weeks) MFH: 2025Q1
This commit is contained in:
parent
7a0d64f784
commit
4d5d01f42f
1 changed files with 2 additions and 1 deletions
|
@ -45,7 +45,8 @@ CONFIGURE_ARGS= --with-berkeley-db \
|
|||
--sysconfdir="${PREFIX}/etc"
|
||||
# XXX --with-readline picks up libreadline even if found in /usr/lib.
|
||||
MAKE_ENV= INSTALL_CATPAGES=no
|
||||
LDFLAGS= -Wl,--undefined-version
|
||||
CFLAGS+= -Wno-implicit-function-declaration
|
||||
LDFLAGS+= -Wl,--undefined-version
|
||||
INSTALL_TARGET= install-strip
|
||||
.if !exists(/etc/rc.d/ipropd_master)
|
||||
USE_RC_SUBR= ipropd_master ipropd_slave
|
||||
|
|
Loading…
Add table
Reference in a new issue