forked from Lainports/freebsd-ports
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:
parent
7c103a95aa
commit
e09837e5c7
1 changed files with 1 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue