summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2019-11-01 04:01:02 +0000
committerMichaƫl Zasso <targos@protonmail.com>2019-12-11 09:13:17 +0100
commit3d05d4beeafbcb9b5dbdd3c8691210429899d4a7 (patch)
tree447050109272a0ef5198b6a49a6af2bf9c667ac1 /tools
parent6c07a7283344419994d73aa9fa8e5a802c0859e8 (diff)
downloadnode-new-3d05d4beeafbcb9b5dbdd3c8691210429899d4a7.tar.gz
build: ease DragonFlyBSD build
Implicitly pretending being FreeBSD and disable large pages for this platform. PR-URL: https://github.com/nodejs/node/pull/30201 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'tools')
-rw-r--r--tools/utils.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/utils.py b/tools/utils.py
index dd5ce3fcb6..014f3ac866 100644
--- a/tools/utils.py
+++ b/tools/utils.py
@@ -63,6 +63,10 @@ def GuessOS():
return 'solaris'
elif id == 'NetBSD':
return 'netbsd'
+ elif id == 'DragonFly':
+ # Doing so on purpose as they are pretty close
+ # minus few features
+ return 'freebsd'
elif id == 'AIX':
return 'aix'
else: