From 18d2431685b6c210b7028b89f5ca3fcbc3870028 Mon Sep 17 00:00:00 2001 From: Kleis Auke Wolthuizen Date: Sun, 25 Dec 2022 17:02:21 +0100 Subject: [PATCH] emscripten: remove no longer relevant comment This was fixed in Emscripten 1.39.16, see: https://github.com/emscripten-core/emscripten/commit/d4fabf3da40e7f556700b16950739d5960a91559 --- mesonbuild/compilers/detect.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mesonbuild/compilers/detect.py b/mesonbuild/compilers/detect.py index 367bcf915..1f378332b 100644 --- a/mesonbuild/compilers/detect.py +++ b/mesonbuild/compilers/detect.py @@ -365,8 +365,7 @@ def _detect_c_or_cpp_compiler(env: 'Environment', lang: str, for_machine: Machin # emcc requires a file input in order to pass arguments to the # linker. It'll exit with an error code, but still print the - # linker version. Old emcc versions ignore -Wl,--version completely, - # however. We'll report "unknown version" in that case. + # linker version. with tempfile.NamedTemporaryFile(suffix='.c') as f: cmd = compiler + [cls.LINKER_PREFIX + "--version", f.name] _, o, _ = Popen_safe(cmd)