Merge pull request #21401 from johbo/darwin-dmd
dmd: Fix build for Darwin
This commit is contained in:
commit
1d67f6e3ea
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user