From 9440c720dd012567ee73c0f1a821d95482c2087b Mon Sep 17 00:00:00 2001 From: Tomas Weinfurt Date: Fri, 26 Oct 2018 09:37:37 -0700 Subject: [PATCH] fixes to build properly on FreeBSD (dotnet/coreclr#20588) * fixes to build properly on FreeBSD * remove ulimit from freebsd branch Commit migrated from https://github.com/dotnet/coreclr/commit/e1f7ce16a4a8626054bdeb299f922b7f8b192c22 --- src/coreclr/build.sh | 4 +++- src/coreclr/init-tools.sh | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/coreclr/build.sh b/src/coreclr/build.sh index 31994c9..459e527 100755 --- a/src/coreclr/build.sh +++ b/src/coreclr/build.sh @@ -421,6 +421,8 @@ isMSBuildOnNETCoreSupported() done elif [ "$__HostOS" == "OSX" ]; then __isMSBuildOnNETCoreSupported=1 + elif [ "$__HostOS" == "FreeBSD" ]; then + __isMSBuildOnNETCoreSupported=1 fi fi } @@ -1062,7 +1064,7 @@ fi build_CoreLib -if [ $__CrossgenOnly ==1 ]; then +if [ $__CrossgenOnly == 1 ]; then build_CoreLib_ni "$__BinDir/crossgen" fi diff --git a/src/coreclr/init-tools.sh b/src/coreclr/init-tools.sh index f62ccb8..c13bb98 100755 --- a/src/coreclr/init-tools.sh +++ b/src/coreclr/init-tools.sh @@ -96,7 +96,10 @@ if [ ! -e "$__DOTNET_PATH" ]; then exit 1 fi ;; - + FreeBSD) + __PKG_RID=freebsd + OS=FreeBSD + ;; Linux) __PKG_RID=linux OS=Linux -- 2.7.4