diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2020-07-10 16:18:56 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2020-07-10 16:18:56 +0000 |
commit | 036a3a6b7855dcaaa36b3619d73ec73f1564d8cc (patch) | |
tree | c190990ddddf49326d9e5e134e07b9ffe7d47bba /textproc | |
parent | c3af248148880c2cfbb23396fb3532686f524c82 (diff) |
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
Notes
Notes:
svn path=/head/; revision=541865
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/gdome2/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/textproc/gdome2/Makefile b/textproc/gdome2/Makefile index d7a76bca2d66..8e2ae01e8fb5 100644 --- a/textproc/gdome2/Makefile +++ b/textproc/gdome2/Makefile @@ -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 |