aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/cpp.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-12-16 11:31:24 -0800
committerDylan Baker <dylan@pnwbakers.com>2020-03-06 12:11:26 -0800
commitf404c679cf292e6a7cf3886cd94511602c1c09f9 (patch)
treec607aaa87fd91e712637577032907c9001c06168 /mesonbuild/compilers/cpp.py
parentc0fd20f164609b8c3be516b5be3d70a4b9ff6f49 (diff)
downloadmeson-f404c679cf292e6a7cf3886cd94511602c1c09f9.zip
meson-f404c679cf292e6a7cf3886cd94511602c1c09f9.tar.gz
meson-f404c679cf292e6a7cf3886cd94511602c1c09f9.tar.bz2
compilers/d: Fix get_allow_undefined_link_args on macOS
DMD and LDC are a real pain to use as linkers. On Unices they invoke the C compiler as the linker, just like meson does. This means we have to figure out what C compiler they're using and try to pass valid arguments to that compiler if the D compiler doesn't understand the linker arguments we want to pass. In this case that means gcc or clang. We can use-the -Xcc to pass arguments directly to the C compiler without dmd/ldc getting involved, so we'll use that.
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
0 files changed, 0 insertions, 0 deletions