pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/bootstrap On OpenBSD, detect clang and prefer it over ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e451d2234fcd
branches: trunk
changeset: 385020:e451d2234fcd
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Sun Sep 09 10:01:26 2018 +0000
description:
On OpenBSD, detect clang and prefer it over gcc. Addresses pkg/53170.
diffstat:
bootstrap/bootstrap | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r be45f7a50c01 -r e451d2234fcd bootstrap/bootstrap
--- a/bootstrap/bootstrap Sun Sep 09 09:09:14 2018 +0000
+++ b/bootstrap/bootstrap Sun Sep 09 10:01:26 2018 +0000
@@ -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@localhost>
# All rights reserved.
@@ -778,6 +778,8 @@
need_sed=no
set_opsys=no
machine_arch=`arch -s`
+ CC=${CC:-cc}; export CC
+ check_compiler=yes
;;
OSF1)
root_group=system
Home |
Main Index |
Thread Index |
Old Index