diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2020-11-13 18:03:18 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-11-13 18:03:18 +0200 |
commit | fc8c0b433ad3555d5a23b294810367e256c686f5 (patch) | |
tree | 737117fd0a3034ffdfa2f5cf2d816517fe49e0fd /mesonbuild/compilers/mixins/gnu.py | |
parent | 91876b40316962620c1705ae14075ab46f8dd644 (diff) | |
download | meson-revertthinlto.tar.gz |
Revert "Add thinlto support. Closes #7493."revertthinlto
This reverts commit 3e6fbde94c1cb8d4e01b7daf0282c315ff0e6c7d.
Diffstat (limited to 'mesonbuild/compilers/mixins/gnu.py')
-rw-r--r-- | mesonbuild/compilers/mixins/gnu.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mesonbuild/compilers/mixins/gnu.py b/mesonbuild/compilers/mixins/gnu.py index 5771ad811..bb1fc6631 100644 --- a/mesonbuild/compilers/mixins/gnu.py +++ b/mesonbuild/compilers/mixins/gnu.py @@ -295,10 +295,8 @@ class GnuLikeCompiler(Compiler, metaclass=abc.ABCMeta): return self._split_fetch_real_dirs(line.split('=', 1)[1]) return [] - def get_lto_compile_args(self, lto_type: str) -> T.List[str]: - if lto_type != 'false': - return ['-flto'] - return [] + def get_lto_compile_args(self) -> T.List[str]: + return ['-flto'] def sanitizer_compile_args(self, value: str) -> T.List[str]: if value == 'none': |