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
This commit is contained in:
Gerald Pfeifer 2025-02-10 06:21:47 +00:00
parent 7c103a95aa
commit e09837e5c7

View file

@ -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: