aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKleis Auke Wolthuizen <github@kleisauke.nl>2022-12-25 17:02:21 +0100
committerEli Schwartz <eschwartz93@gmail.com>2022-12-27 06:59:55 -0500
commit18d2431685b6c210b7028b89f5ca3fcbc3870028 (patch)
tree6be355dbc3af6ccd890596d63a8cc2bbc8690c93
parentcd6b67dea8ff3d92637a0c4253b5f1e2aabea976 (diff)
downloadmeson-18d2431685b6c210b7028b89f5ca3fcbc3870028.zip
meson-18d2431685b6c210b7028b89f5ca3fcbc3870028.tar.gz
meson-18d2431685b6c210b7028b89f5ca3fcbc3870028.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.py3
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)