Merge pull request #21401 from johbo/darwin-dmd

dmd: Fix build for Darwin
This commit is contained in:
Daiderd Jordan 2016-12-25 09:08:50 +01:00 committed by GitHub
commit 1d67f6e3ea

View File

@ -20,10 +20,6 @@ stdenv.mkDerivation rec {
substituteInPlace src/dmd/posix.mak \
--replace g++ clang++ \
--replace MACOSX_DEPLOYMENT_TARGET MACOSX_DEPLOYMENT_TARGET_
# Was not able to compile on darwin due to "__inline_isnanl"
# being undefined.
substituteInPlace src/dmd/root/port.c --replace __inline_isnanl __inline_isnan
'';
# Buid and install are based on http://wiki.dlang.org/Building_DMD