cbb42f9dd4
dbfc495a9a
"Add config option used when we try to
link one huge object file" had added it for the --enable-lto case, but without
documenting exactly what it should help with. And at least my local Linux
--enable-lto --enable-dbgutil etc. build successfully does `make check &&
make screenshot` without it.
This removes the only use of STATIC_LINKING, so remove it completely. (And
basctl/source/basicide/basidesh.cxx still needs to include config_options.h for
ENABLE_MERGELIBS.)
Change-Id: I3820e1cacccc92f5ac0c9c7fcc539c29a6864694
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90804
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
21 lines
379 B
C
21 lines
379 B
C
/*
|
|
* General configuration settings for various options.
|
|
*/
|
|
|
|
#ifndef CONFIG_OPTIONS_H
|
|
#define CONFIG_OPTIONS_H
|
|
|
|
#define ENABLE_MERGELIBS 0
|
|
|
|
#define ENABLE_RUNTIME_OPTIMIZATIONS 0
|
|
|
|
// Used to turn off visibility for some classes/symbols when linking with --enable-mergelibs
|
|
//
|
|
#if ENABLE_MERGELIBS
|
|
#define UNLESS_MERGELIBS(x)
|
|
#else
|
|
#define UNLESS_MERGELIBS(x) x
|
|
#endif
|
|
|
|
|
|
#endif
|