Commit Graph

15 Commits

Author SHA1 Message Date
7a4cc19791 Also on Linux do not export symbols from static orcus libraries
...otherwise e.g. running CppunitTest_sc_filters_test under -fsanitize=address
complains about ODR violation of 'vtable for orcus::csv::parse_error' exported
from both libsclo.so and libscqahelper.so.

A problem could potentially arise with exceptions thrown from static orcus code
linked into library and intended to be caught in another, but hopefully all such
exceptions are intended to be caught already locally anyway.

Change-Id: Iff5c73d7a2324b457c2e86656c11b18f7ba210f6
2014-09-03 09:22:16 +02:00
6bc81d4e78 Simplify some $ENABLE_DEBUG expressions
Change-Id: I9f60fd317f3a2995a182d51d06059bd994cf837c
2014-08-29 17:14:53 +02:00
1f23cc159d Fix libgltf dbgutil build
The libgltf configure.ac script changes the autotools user variables
CFLAGS and CXXFLAGS, which is not allowed and can overwrite user
settings (which it does for the -D_GLIBCXX_DEBUG flag).

So this moves the special compile settings to seperate variables and
passes them to AM_CXXFLAGS and AM_CPPFLAGS, so the library actually
gets compiled with libstdc++ debug objects.

Change-Id: I00989f5fb629a6aac43ee5a2eb287b0491a3b86d
2014-08-06 12:05:56 +02:00
9c6f0a6760 remove unnecessary patches
They have been applied upstream and are part of the new release.

Change-Id: I928b29e74abe2415bdf75de32cbaa7ac279a2889
2014-03-04 06:48:33 +01:00
7801c94bff I think we don't need that Mac patch anymore
Change-Id: I6619e70f3f7c8ba4d17be4ca434057948be3d79f
2014-03-03 17:59:05 +01:00
36788e95fd upgrade liborcus
Conflicts:

	external/boost/StaticLibrary_boost_system.mk

Change-Id: Ie4af26c87a100b67baeedbaa7fb1ac428845f92b
2014-03-03 17:53:57 +01:00
d729d169de normalize values of CROSS_COMPILING
Change-Id: I0cc43cef91e3fcd82a3558a16ab0afbd4d56b141
2014-02-27 18:09:01 +01:00
6ae1323442 external: Use gb_LTOFLAGS only in LDFLAGS to fix building.
liborcus was not building for me with -flto in CFLAGS, I would have to
fix ar somehow.
-flto in LDFLAGS is just to fix the build if the external library does use
another library built by us with -flto: does happen for liborcus and python3.
It's not like we would use -flto for external libraries consistently anyway,
the only exception is icu: no idea why we build with -flto there.

Change-Id: Ia54d619674b8999ce5e4b920ba77b1587c9cf48d
2014-02-22 18:34:48 +01:00
a11dff0342 Build liborcus with lto flags. To unbreak linking phase.
Change-Id: Ie24054a9c0538187e1b234101dd41f30306ec2ae
2014-02-21 10:32:43 +01:00
adddbbc4c6 normalize values of SYSTEM_BOOST
Change-Id: I2fce6545d7f279e0e2d6f3ff53eee1ab82314135
2014-02-12 09:53:10 +01:00
04ff535f72 normalize values of SYSTEM_ZLIB, SYSTEM_DICTS, SYSTEM_FONTCONFIG
Change-Id: I7530cb9d0797df5fc86695b0379cc44c159d2ab5
2014-02-12 09:53:08 +01:00
ece94ab98f handle invalid xml files in orcus, fdo#63844
Change-Id: I82fff6ab89acece0e46c92bfca2c7faf967639b8
2013-12-13 21:13:51 +01:00
d5d307d647 externals using boost now need config_host to find config_global.h
... why didn't GCC 4.1 have #pragma diagnostic push?

Change-Id: Iedb33d6451e46dc12e137bcd4dccd592c7771c23
2013-11-14 21:39:24 +01:00
29661a886e boost: stop using #pragma GCC system_header
... it breaks dependency generation.

Change-Id: Ib6e1dac1210020d3a6eb1748f1266e69582f199e
2013-11-14 16:03:21 +01:00
392726f042 fdo#70393: move liborcus to a subdir of external
Change-Id: Ibdf8c9fc9d7d2639ebd440ff2d833ab37ae76d98
Reviewed-on: https://gerrit.libreoffice.org/6334
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-10-19 07:37:21 +00:00