use (new) -mlong-jump-table-offsets on m68k for libxo
authorRene Engelhard <rene@debian.org>
Sat, 7 Jan 2017 15:46:14 +0000 (16:46 +0100)
committerRaspbian forward porter <root@raspbian.org>
Thu, 27 Jul 2017 23:16:27 +0000 (00:16 +0100)
Change-Id: I6e2886e2de4f3502c74f1e367216066352994865

Gbp-Pq: Name m68k-use-mlong-jump-table-offsets.diff

configure.ac
oox/Library_oox.mk
xmloff/Library_xo.mk

index 7f940def08c37f9009bd556bc8f152ab6cfad51c..1ba75a8a7bf695c6d3fc4d227b81d02d85cfeeed 100644 (file)
Binary files a/configure.ac and b/configure.ac differ
index a178883027d0a1e0fc3ce1edd203932e56d0f4b3..b46af8b2350fe33cef032a923792b21fe46ee08d 100644 (file)
@@ -305,4 +305,10 @@ $(eval $(call gb_Library_add_exception_objects,oox,\
 ))
 endif
 
+ifeq ($(CPUNAME),M68K)
+$(eval $(call gb_Library_add_cxxflags,oox,\
+    -mlong-jump-table-offsets \
+))
+endif
+
 # vim: set noet sw=4 ts=4:
index 6b8e03f39e7a944fd0562d7e4ab0216af340023c..6c93ea85cadd0132b9967813129719d157ff3009 100644 (file)
@@ -369,4 +369,10 @@ $(eval $(call gb_Library_add_exception_objects,xo,\
     xmloff/source/xforms/xformsimport \
 ))
 
+ifeq ($(CPUNAME),M68K)
+$(eval $(call gb_Library_add_cxxflags,xo,\
+    -mlong-jump-table-offsets \
+))
+endif
+
 # vim: set noet sw=4 ts=4: