pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/bootstrap



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Sun Sep  9 10:01:26 UTC 2018

Modified Files:
        pkgsrc/bootstrap: bootstrap

Log Message:
On OpenBSD, detect clang and prefer it over gcc. Addresses pkg/53170.


To generate a diff of this commit:
cvs rdiff -u -r1.249 -r1.250 pkgsrc/bootstrap/bootstrap

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/bootstrap/bootstrap
diff -u pkgsrc/bootstrap/bootstrap:1.249 pkgsrc/bootstrap/bootstrap:1.250
--- pkgsrc/bootstrap/bootstrap:1.249    Sun Aug 12 08:46:41 2018
+++ pkgsrc/bootstrap/bootstrap  Sun Sep  9 10:01:26 2018
@@ -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 @@ OpenBSD)
        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