diff options
author | David Carlier <devnexen@gmail.com> | 2019-11-01 04:01:02 +0000 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2019-12-11 09:13:17 +0100 |
commit | 3d05d4beeafbcb9b5dbdd3c8691210429899d4a7 (patch) | |
tree | 447050109272a0ef5198b6a49a6af2bf9c667ac1 /tools | |
parent | 6c07a7283344419994d73aa9fa8e5a802c0859e8 (diff) | |
download | node-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.py | 4 |
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: |