summaryrefslogtreecommitdiff
path: root/config_host/config_options.h.in
blob: a52aed1f419881e4ed2ceeb59de0d41b5cb3c28e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * General configuration settings for various options.
 */

#ifndef CONFIG_OPTIONS_H
#define CONFIG_OPTIONS_H

/*
 * Whether we want to link as many object files as possible into one big object.
 * True in case of --enable-lto or --enable-mergelibs.
 */
#define STATIC_LINKING 0

#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