textproc/gdome2: Unbreak build with -fno-common

ld: error: duplicate symbol: gdome_xpath_xpnsresolv_vtab
>>> defined at gdome-xpath.c
>>>            gdome-xpath.lo:(gdome_xpath_xpnsresolv_vtab)
>>> defined at gdome-xpath-xpeval.c
>>>            gdome-xpath-xpeval.lo:(.rodata+0x0) in archive ../libgdome/xpath/.libs/libgdomexpath.al
ld: error: duplicate symbol: gdome_xpath_xpnsresolv_vtab
>>> defined at gdome-xpath.c
>>>            gdome-xpath.lo:(gdome_xpath_xpnsresolv_vtab)
>>> defined at gdome-xpath-xpnsresolv.c
>>>            gdome-xpath-xpnsresolv.lo:(.data.rel.ro+0x0) in archive ../libgdome/xpath/.libs/libgdomexpath.al
This commit is contained in:
Tobias Kortkamp 2020-07-10 16:18:56 +00:00
parent c3af248148
commit 036a3a6b78
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=541865

View File

@ -14,6 +14,7 @@ USES= gnome libtool pathfix pkgconfig
USE_GNOME= glib20 libxml2
GNU_CONFIGURE= yes
CONFIGURE_ENV= GLIB_CONFIG="${LOCALBASE}/bin/pkg-config glib-2.0"
CFLAGS+= -fcommon
CPPFLAGS+= -I${LOCALBASE}/include
DOCSDIR= ${PREFIX}/share/doc/${DISTNAME}
USE_LDCONFIG= yes