about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
authorjanus <janus@xn--kn-1ia.guru>2015-11-17T14·16+0000
committerjanus <janus@xn--kn-1ia.guru>2015-11-17T14·16+0000
commit8a74a125bc3ac7a8273b8a1be8f0774a664900af (patch)
tree80beec8f6bcebd138255fe77178e315533c9ff88 /src/libstore
parent7888b2ba15528a7caa24f6923203a55cc38087ed (diff)
FreeBSD can build Linux 32-bit binaries
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/build.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 3adad662d072..4809a5a57808 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")
         ;
 }