diff options
author | Kleis Auke Wolthuizen <github@kleisauke.nl> | 2022-12-25 17:02:21 +0100 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2023-02-06 23:37:24 +0530 |
commit | cade1adc5feea5cb838a0d866d7b0151d8b647ad (patch) | |
tree | b82105aea5b253faf71b0b0139564e2cdf4c6655 | |
parent | 9e486e6d4e76f5c5c9f9868625c12782339480ef (diff) | |
download | meson-cade1adc5feea5cb838a0d866d7b0151d8b647ad.zip meson-cade1adc5feea5cb838a0d866d7b0151d8b647ad.tar.gz meson-cade1adc5feea5cb838a0d866d7b0151d8b647ad.tar.bz2 |
emscripten: remove no longer relevant comment
This was fixed in Emscripten 1.39.16, see:
https://github.com/emscripten-core/emscripten/commit/d4fabf3da40e7f556700b16950739d5960a91559
-rw-r--r-- | mesonbuild/compilers/detect.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/compilers/detect.py b/mesonbuild/compilers/detect.py index 367bcf9..1f37833 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) |