From 4dc0a778b34ebc80ebfd24b0ea74b069fc467246 Mon Sep 17 00:00:00 2001 From: schmonz Date: Sun, 9 Sep 2018 10:01:26 +0000 Subject: On OpenBSD, detect clang and prefer it over gcc. Addresses pkg/53170. --- bootstrap/bootstrap | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bootstrap') diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap index f798d94faf4..e4025421240 100755 --- a/bootstrap/bootstrap +++ b/bootstrap/bootstrap @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: bootstrap,v 1.249 2018/08/12 08:46:41 bsiegert Exp $ +# $NetBSD: bootstrap,v 1.250 2018/09/09 10:01:26 schmonz Exp $ # # Copyright (c) 2001-2011 Alistair Crooks # All rights reserved. @@ -778,6 +778,8 @@ OpenBSD) need_sed=no set_opsys=no machine_arch=`arch -s` + CC=${CC:-cc}; export CC + check_compiler=yes ;; OSF1) root_group=system -- cgit v1.2.3