aboutsummaryrefslogtreecommitdiff
path: root/editors/libreoffice
diff options
context:
space:
mode:
authorFelix Palmen <zirias@FreeBSD.org>2023-02-20 07:24:56 +0000
committerFelix Palmen <zirias@FreeBSD.org>2023-02-20 17:06:22 +0000
commit1bbd2bd822b9021436ba16db3bb16dce7d76929b (patch)
tree4dfba69dd92092f226773f3301dbd79140bae727 /editors/libreoffice
parentcb6b5b2243a1cfa6d89999d6cf27c1d3d3e70c4a (diff)
downloadports-1bbd2bd822b9021436ba16db3bb16dce7d76929b.tar.gz
ports-1bbd2bd822b9021436ba16db3bb16dce7d76929b.zip
editors/libreoffice: Fix build with Qt on i386
Reintroduce -Wno-c++11-narrowing, builting with the Qt option on i386 is still broken otherwise. Approved by: office (fluffy, maintainer), tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D38693
Diffstat (limited to 'editors/libreoffice')
-rw-r--r--editors/libreoffice/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile
index 1e0e7135bebf..108fbc9e5acf 100644
--- a/editors/libreoffice/Makefile
+++ b/editors/libreoffice/Makefile
@@ -358,7 +358,8 @@ LLD_UNSAFE= yes
.endif
.if ${CHOSEN_COMPILER_TYPE} == clang
-CXXFLAGS_WARN= -Woverloaded-virtual -Wno-unused-parameter -Wno-unused-local-typedefs
+CXXFLAGS_WARN= -Woverloaded-virtual -Wno-c++11-narrowing \
+ -Wno-unused-parameter -Wno-unused-local-typedefs
.else
CXXFLAGS_WARN= -Wshadow -Woverloaded-virtual
.endif