void-packages/srcpkgs/dmd2.081/files/musl.patch
Yuxuan Shui 3d4bc2e90f new package: dmd2.081
The last dmd version that can be bootstrapped by the pure C++ version
of dmd. We need this version as a separate package so we can bootstrap
newer versions of dmd.
2019-03-24 21:29:59 -03:00

11 lines
332 B
Diff

--- dmd/src/dmd/mars.d
+++ dmd/src/dmd/mars.d
@@ -1374,7 +1374,7 @@ void addDefaultVersionIdentifiers()
}
else static if (TARGET.Linux)
{
- VersionCondition.addPredefinedGlobalIdent("CRuntime_Glibc");
+ VersionCondition.addPredefinedGlobalIdent("CRuntime_Musl");
}
if (global.params.isLP64)