[Libreoffice-commits] core.git: unotools/Library_utl.mk
LuboÅ¡ LuÅák (via logerrit)
logerrit at kemper.freedesktop.org
Sat Jan 18 15:56:58 UTC 2020
unotools/Library_utl.mk | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
New commits:
commit 52a26b146542526dc4f6bb193ffb4fd95e4f79fd
Author: Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Sat Jan 18 14:38:59 2020 +0100
Commit: Luboš Luňák <l.lunak at collabora.com>
CommitDate: Sat Jan 18 16:56:25 2020 +0100
fix unotools/source/i18n/resmgr.cxx build with PCH on Mac
When a PCH is used, those #defines come too late if they are
in the source file, set them using the command line.
Change-Id: I361503db7c9e51c2cf5fdcdda2861d1377b81fa5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87020
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak at collabora.com>
diff --git a/unotools/Library_utl.mk b/unotools/Library_utl.mk
index cdc4b38f96ae..e36d291db0f0 100644
--- a/unotools/Library_utl.mk
+++ b/unotools/Library_utl.mk
@@ -96,7 +96,6 @@ $(eval $(call gb_Library_add_exception_objects,utl,\
unotools/source/i18n/localedatawrapper \
unotools/source/i18n/nativenumberwrapper \
unotools/source/i18n/readwritemutexguard \
- unotools/source/i18n/resmgr \
unotools/source/i18n/textsearch \
unotools/source/i18n/transliterationwrapper \
unotools/source/misc/closeveto \
@@ -123,4 +122,10 @@ $(eval $(call gb_Library_add_exception_objects,utl,\
unotools/source/ucbhelper/xtempfile \
))
+# see the source file
+$(eval $(call gb_Library_add_exception_objects,utl,\
+ unotools/source/i18n/resmgr, \
+ -D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR= -D_HAS_AUTO_PTR_ETC=1 \
+))
+
# vim: set noet sw=4 ts=4:
More information about the Libreoffice-commits
mailing list