From e09837e5c7fc9257f8feee215437a133add3b383 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Mon, 10 Feb 2025 06:21:47 +0000 Subject: [PATCH] irc/ircd-ratbox: Only use new, lenient CFLAGS for GCC Commit 23b4bfce62 set CFLAGS to build with newer versions of GCC which became more strict. This setting is only necessary for GCC, to limit it accordingly. PR: 284485 --- irc/ircd-ratbox/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/irc/ircd-ratbox/Makefile b/irc/ircd-ratbox/Makefile index 2b75c7b3ba77..14910b203652 100644 --- a/irc/ircd-ratbox/Makefile +++ b/irc/ircd-ratbox/Makefile @@ -30,8 +30,6 @@ SUB_FILES= pkg-message PLIST_SUB= LOGDIR=${LOGDIR} RUNDIR=${RUNDIR} DBDIR=${DBDIR} SUB_LIST= LOGDIR=${LOGDIR} RUNDIR=${RUNDIR} DBDIR=${DBDIR} -CFLAGS+= -fpermissive - GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-confdir=${PREFIX}/etc/${PORTNAME} \ --with-logdir=/var/log/${PORTNAME} \ @@ -85,6 +83,7 @@ CONFIGURE_ARGS+= --with-nicklen=${NICKLEN} .if ${ARCH} == "i386" USE_GCC= yes +CFLAGS+= -fpermissive .endif post-patch: