net/l2tpd: Fix build with GCC 14

GCC 14 has transformed some warnings into errors: revert them to simple
warnings.

PR:             281243
Reported by:    exp-run (antoine)
This commit is contained in:
Lorenzo Salvadore 2024-09-05 16:39:05 +02:00
parent 277b4e3221
commit 16c76a4ce2
No known key found for this signature in database
GPG key ID: B58F7C3CF6DB8A38

View file

@ -11,7 +11,8 @@ BROKEN_armv6= fails to link: undefined reference to check_control
BROKEN_armv7= fails to link: undefined reference to check_control
USES= compiler:nestedfct cpe
CFLAGS+= -fcommon
CFLAGS+= -fcommon \
-fpermissive
PORTDOCS= README
ETCDIR= ${PREFIX}/etc/l2tp