diff options
Diffstat (limited to 'external')
-rw-r--r-- | external/libmwaw/ExternalProject_libmwaw.mk | 6 | ||||
-rw-r--r-- | external/libmwaw/Library_mwaw.mk | 3 |
2 files changed, 3 insertions, 6 deletions
diff --git a/external/libmwaw/ExternalProject_libmwaw.mk b/external/libmwaw/ExternalProject_libmwaw.mk index 5dbb7723508d..5fa97ca5c649 100644 --- a/external/libmwaw/ExternalProject_libmwaw.mk +++ b/external/libmwaw/ExternalProject_libmwaw.mk @@ -16,7 +16,6 @@ $(eval $(call gb_ExternalProject_register_targets,libmwaw,\ )) $(eval $(call gb_ExternalProject_use_externals,libmwaw,\ - boost_headers \ revenge \ )) @@ -30,15 +29,14 @@ $(call gb_ExternalProject_get_state_target,libmwaw,build) : , \ --enable-shared --disable-static \ ) \ + --with-sharedptr=c++11 \ --without-docs \ --disable-tools \ --disable-zip \ $(if $(ENABLE_DEBUG),--enable-debug,--disable-debug) \ $(if $(verbose),--disable-silent-rules,--enable-silent-rules) \ --disable-werror \ - CXXFLAGS="$(if $(SYSTEM_BOOST),$(BOOST_CPPFLAGS),\ - $(if $(COM_GCC_IS_CLANG),-Qunused-arguments) \ - -I$(call gb_UnpackedTarball_get_dir,boost))" \ + CXXFLAGS="$(CXXFLAGS_CXX11)" \ $(if $(filter LINUX,$(OS)),$(if $(SYSTEM_REVENGE),, \ 'LDFLAGS=-Wl$(COMMA)-z$(COMMA)origin \ -Wl$(COMMA)-rpath$(COMMA)\$$$$ORIGIN')) \ diff --git a/external/libmwaw/Library_mwaw.mk b/external/libmwaw/Library_mwaw.mk index f5aeee03d67e..90b766555277 100644 --- a/external/libmwaw/Library_mwaw.mk +++ b/external/libmwaw/Library_mwaw.mk @@ -13,7 +13,6 @@ $(eval $(call gb_Library_use_unpacked,mwaw,libmwaw)) $(eval $(call gb_Library_use_externals,mwaw,\ revenge \ - boost_headers \ )) $(eval $(call gb_Library_set_warnings_not_errors,mwaw)) @@ -24,10 +23,10 @@ $(eval $(call gb_Library_set_include,mwaw,\ )) $(eval $(call gb_Library_add_defs,mwaw,\ - -DBOOST_ALL_NO_LIB \ -DBUILD_MWAW \ -DNDEBUG \ -D_WINDLL \ + -DSHAREDPTR_STD \ )) $(eval $(call gb_Library_add_generated_exception_objects,mwaw,\ |