summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKushal Pal <kushpal@qti.qualcomm.com>2025-08-05 17:23:59 +0530
committerDylan Baker <dylan@pnwbakers.com>2025-09-26 08:38:36 -0700
commit82af349156f7ca4222a1fc4d2f812cc46caca755 (patch)
tree051f2d8be35ac1ad591f6af00df9009dcc58979c
parent3708730dee5049eca7e497629d25629534ea4964 (diff)
downloadmeson-82af349156f7ca4222a1fc4d2f812cc46caca755.tar.gz
Add eld in GnuLikeCompiler
Signed-off-by: Kushal Pal <kushpal@qti.qualcomm.com>
-rw-r--r--mesonbuild/compilers/mixins/gnu.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers/mixins/gnu.py b/mesonbuild/compilers/mixins/gnu.py
index ddcd14a15..bedee621a 100644
--- a/mesonbuild/compilers/mixins/gnu.py
+++ b/mesonbuild/compilers/mixins/gnu.py
@@ -522,9 +522,9 @@ class GnuLikeCompiler(Compiler, metaclass=abc.ABCMeta):
@classmethod
def use_linker_args(cls, linker: str, version: str) -> T.List[str]:
- if linker not in {'gold', 'bfd', 'lld'}:
+ if linker not in {'bfd', 'eld', 'gold', 'lld'}:
raise mesonlib.MesonException(
- f'Unsupported linker, only bfd, gold, and lld are supported, not {linker}.')
+ f'Unsupported linker, only bfd, eld, gold, and lld are supported, not {linker}.')
return [f'-fuse-ld={linker}']
def get_coverage_args(self) -> T.List[str]: