1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

lang/clisp: Fix build with GCC 14

GCC 14 turns some warnings into errors. Add -fpermissive flag to switch
them back to warnings.

PR:		281236
This commit is contained in:
Lorenzo Salvadore 2024-11-15 12:27:18 +01:00
parent ba66aa3149
commit b5ee328522
No known key found for this signature in database
GPG Key ID: B58F7C3CF6DB8A38

View File

@ -29,6 +29,7 @@ CONFIGURE_ARGS= --prefix="${PREFIX}" --mandir="${PREFIX}/share/man" \
--docdir="${DOCSDIR}" --with-libiconv=${ICONV_PREFIX}
CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/}-portbld-freebsd${OSREL}
# Complaints if the environment changes between build stages.
CFLAGS+= -fpermissive
LDFLAGS+= ${LDFLAGS_${CHOSEN_COMPILER_TYPE}}
LDFLAGS_gcc= -lthr
MAKE_ENV= ${CONFIGURE_ENV}