summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/tools/lib/Platform.pm
diff options
context:
space:
mode:
Diffstat (limited to 'openmp/runtime/tools/lib/Platform.pm')
-rw-r--r--openmp/runtime/tools/lib/Platform.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/openmp/runtime/tools/lib/Platform.pm b/openmp/runtime/tools/lib/Platform.pm
index 8b701c24b7b..69882d39502 100644
--- a/openmp/runtime/tools/lib/Platform.pm
+++ b/openmp/runtime/tools/lib/Platform.pm
@@ -223,6 +223,9 @@ sub target_options() {
} elsif ( $operating_system eq "FreeBSD" ) {
# Host OS resembles Linux.
$_host_os = "lin";
+ } elsif ( $operating_system eq "NetBSD" ) {
+ # Host OS resembles Linux.
+ $_host_os = "lin";
} elsif ( $operating_system eq "Darwin" ) {
$_host_os = "mac";
} elsif ( $operating_system eq "MS Windows" ) {
OpenPOWER on IntegriCloud