diff options
-rw-r--r-- | external/libmwaw/ExternalProject_libmwaw.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/external/libmwaw/ExternalProject_libmwaw.mk b/external/libmwaw/ExternalProject_libmwaw.mk index 88d437b8274f..bee63d793a1e 100644 --- a/external/libmwaw/ExternalProject_libmwaw.mk +++ b/external/libmwaw/ExternalProject_libmwaw.mk @@ -36,7 +36,10 @@ $(call gb_ExternalProject_get_state_target,libmwaw,build) : $(if $(ENABLE_DEBUG),--enable-debug,--disable-debug) \ $(if $(VERBOSE)$(verbose),--disable-silent-rules,--enable-silent-rules) \ --disable-werror \ - CXXFLAGS="$(if $(SYSTEM_BOOST),$(BOOST_CPPFLAGS),-I$(call gb_UnpackedTarball_get_dir,boost) -I$(BUILDDIR)/config_$(gb_Side))" \ + CXXFLAGS="$(if $(SYSTEM_BOOST),$(BOOST_CPPFLAGS),\ + $(if $(COM_GCC_IS_CLANG),-Qunused-arguments) \ + -I$(BUILDDIR)/config_$(gb_Side) \ + -I$(call gb_UnpackedTarball_get_dir,boost))" \ $(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \ $(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________OOO) \ && (cd $(EXTERNAL_WORKDIR)/src/lib && \ |