From 8a74a125bc3ac7a8273b8a1be8f0774a664900af Mon Sep 17 00:00:00 2001 From: janus Date: Tue, 17 Nov 2015 14:16:08 +0000 Subject: [PATCH] FreeBSD can build Linux 32-bit binaries --- src/libstore/build.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 3adad662d..4809a5a57 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -1251,6 +1251,8 @@ static bool canBuildLocally(const string & platform) #if __linux__ || (platform == "i686-linux" && settings.thisSystem == "x86_64-linux") #endif + || (platform == "i686-linux" && settings.thisSystem == "x86_64-freebsd") + || (platform == "i686-linux" && settings.thisSystem == "i686-freebsd") ; }