aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/libreoffice/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile
index 0233368c3362..ea979227381f 100644
--- a/editors/libreoffice/Makefile
+++ b/editors/libreoffice/Makefile
@@ -364,6 +364,8 @@ CXXFLAGS_WARN= -Woverloaded-virtual -Wno-c++11-narrowing \
CXXFLAGS_WARN= -Wshadow -Woverloaded-virtual
.endif
+LDFLAGS+= -Wl,--undefined-version
+
post-patch:
.if ${COMPILER_FEATURES:Mlibstdc++}
${REINPLACE_CMD} -e 's/gb_CC/gb_CXX/' ${WRKSRC}/solenv/gbuild/platform/unxgcc.mk