| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 97f3072 commit 22a78a7
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -236,6 +236,19 @@ | |||
| 236 | 236 | 'OTHER_LDFLAGS': [ '-Wl,-rpath,@loader_path', ], | |
| 237 | 237 | }, | |
| 238 | 238 | }], | |
| 239 | + [ 'enable_lto=="true"', { | ||
| 240 | + 'xcode_settings': { | ||
| 241 | + 'OTHER_LDFLAGS': [ | ||
| 242 | + # man ld -export_dynamic: | ||
| 243 | + # Preserves all global symbols in main executables during LTO. | ||
| 244 | + # Without this option, Link Time Optimization is allowed to | ||
| 245 | + # inline and remove global functions. This option is used when | ||
| 246 | + # a main executable may load a plug-in which requires certain | ||
| 247 | + # symbols from the main executable. | ||
| 248 | + '-Wl,-export_dynamic', | ||
| 249 | + ], | ||
| 250 | + }, | ||
| 251 | + }], | ||
| 239 | 252 | ['OS=="win"', { | |
| 240 | 253 | 'libraries': [ | |
| 241 | 254 | 'Dbghelp.lib', | |
| Back | FazBrowse Home | New Git URL |
0 commit comments