aboutsummaryrefslogtreecommitdiff
path: root/editors/libreoffice/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/libreoffice/Makefile')
-rw-r--r--editors/libreoffice/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile
index e2b5e40d7086..b561a6782735 100644
--- a/editors/libreoffice/Makefile
+++ b/editors/libreoffice/Makefile
@@ -229,6 +229,8 @@ USE_BINUTILS= yes
CXXCPP= clang++ -E
CPP= clang -E
.endif
+# XXX Work around C++11 problems with Clang.
+CXXFLAGS= -std=gnu++98 -Qunused-arguments
BUILD_DEPENDS+= ${LOCALBASE}/lib/libcppunit.so:${PORTSDIR}/devel/cppunit
.endif