Force -fcommon to unbreak the build against modern compilers.

Reported by:	pkg-fallout
This commit is contained in:
Alexey Dokuchaev 2020-09-02 08:52:51 +00:00
parent 1c4f09110a
commit 90b2c22ad8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547346
2 changed files with 2 additions and 1 deletions

View file

@ -21,6 +21,7 @@ USES= gmake gnome libtool pkgconfig
CONFIGURE_ARGS= --enable-static=no --x-includes=${LOCALBASE}/include \
--x-libraries=${LOCALBASE}/lib
CFLAGS+= -fcommon
LDFLAGS+= -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/WordNet
LIBS+= `pkg-config --libs gio-2.0`

View file

@ -22,7 +22,7 @@ GH_PROJECT= httpd
USE_RC_SUBR= obhttpd
CFLAGS+= -Wall
CFLAGS+= -Wall -fcommon
CFLAGS+= -I${WRKDIR}/libressl-${SSL_VERSION}/include
MAKE_ARGS+= MANDIR=${PREFIX}/man/man