Better handle LTO_ENABLE (#9832)
* Better handle LTO_ENABLE Especially when calling from command line * Replace LINK_TIME_OPTIMIZATION_ENABLE with LTO_ENABLE * Remove long for LTO from show_options.mk
This commit is contained in:
parent
3f392c09b6
commit
92385b3fb6
79 changed files with 85 additions and 99 deletions
|
@ -29,7 +29,7 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
/* Disable macro and function features when LTO is enabled, since they break */
|
||||
#ifdef LINK_TIME_OPTIMIZATION_ENABLE
|
||||
#ifdef LTO_ENABLE
|
||||
# ifndef NO_ACTION_MACRO
|
||||
# define NO_ACTION_MACRO
|
||||
# endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue