summaryrefslogtreecommitdiff
path: root/config_host/config_options.h.meson
blob: 9f5a2d5c59d45db335cd43431971b15696c74143 (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
/*
 * 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.
 */
#mesondefine STATIC_LINKING

#mesondefine ENABLE_RUNTIME_OPTIMIZATIONS

// 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