From 90b2c22ad8414b5e3715289f7b5b51014fdb8b67 Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Wed, 2 Sep 2020 08:52:51 +0000 Subject: [PATCH] Force -fcommon to unbreak the build against modern compilers. Reported by: pkg-fallout --- textproc/artha/Makefile | 1 + www/obhttpd/Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/textproc/artha/Makefile b/textproc/artha/Makefile index 05e007b0c40d..db280a608ac8 100644 --- a/textproc/artha/Makefile +++ b/textproc/artha/Makefile @@ -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` diff --git a/www/obhttpd/Makefile b/www/obhttpd/Makefile index 8357aeec7f3c..1b1ec0cbf31d 100644 --- a/www/obhttpd/Makefile +++ b/www/obhttpd/Makefile @@ -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