diff options
author | schmonz <schmonz@pkgsrc.org> | 2018-09-09 10:01:26 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2018-09-09 10:01:26 +0000 |
commit | fe4c9337969bf1ce9d7255ad7047222e7d5f18b8 (patch) | |
tree | 1668f465f484f34824499d1e58fa57e4cd23d6e0 /bootstrap | |
parent | edbc4cad041e9b572a8d208eb0702af088740c41 (diff) | |
download | pkgsrc-fe4c9337969bf1ce9d7255ad7047222e7d5f18b8.tar.gz |
On OpenBSD, detect clang and prefer it over gcc. Addresses pkg/53170.
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap/bootstrap | 4 |
1 files changed, 3 insertions, 1 deletions
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 <agc@NetBSD.org> # 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 |