diff options
author | Alexey Neyman <stilor@att.net> | 2017-02-18 23:21:09 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-02-18 23:21:09 -0800 |
commit | d20091d730f896155462333bbd770eb6e4946a52 (patch) | |
tree | 86df442c6ecd7d5c3303a3fda9298685e75ec7bc /config/libc | |
parent | 4d723d08924a5746da2336410e39de5a7e363760 (diff) | |
download | crosstool-ng-d20091d730f896155462333bbd770eb6e4946a52.tar.gz crosstool-ng-d20091d730f896155462333bbd770eb6e4946a52.tar.bz2 crosstool-ng-d20091d730f896155462333bbd770eb6e4946a52.zip |
Newlib's LTO only makes sense if GCC supports it
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config/libc')
-rw-r--r-- | config/libc/newlib.in.2 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/libc/newlib.in.2 b/config/libc/newlib.in.2 index 927cce89..96bd22bf 100644 --- a/config/libc/newlib.in.2 +++ b/config/libc/newlib.in.2 @@ -140,6 +140,7 @@ config LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE config LIBC_NEWLIB_LTO bool prompt "Enable Link Time Optimization" + depends on CC_GCC_USE_LTO help Builds the libraries with -flto to enable more aggressive link time optimization. You will need to add -flto-partition=one to your |