pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/bootstrap bootstrap: Remove old -isystem hack on macOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/02eece085ee5
branches:  trunk
changeset: 384977:02eece085ee5
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri Sep 09 10:58:15 2022 +0000

description:
bootstrap: Remove old -isystem hack on macOS.

This was introduced many years ago in PR#26143 to try and work around a
misconfiguration in how Apple's GCC was built at the time.  Newer compilers no
longer look in /usr/local/include, and this workaround can now be harmful when
trying to pick a specific SDK to build against.

diffstat:

 bootstrap/bootstrap |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 029077b17e3d -r 02eece085ee5 bootstrap/bootstrap
--- a/bootstrap/bootstrap       Fri Sep 09 09:05:47 2022 +0000
+++ b/bootstrap/bootstrap       Fri Sep 09 10:58:15 2022 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: bootstrap,v 1.312 2022/06/16 22:12:20 charlotte Exp $
+# $NetBSD: bootstrap,v 1.313 2022/09/09 10:58:15 jperkin Exp $
 #
 # Copyright (c) 2001-2011 Alistair Crooks <agc%NetBSD.org@localhost>
 # All rights reserved.
@@ -587,7 +587,6 @@
 Darwin)
        root_group=wheel
        machine_arch=`get_machine_arch_darwin`
-       CC=${CC:-"cc -isystem /usr/include"}; export CC
        check_compiler=yes
 
        # Combine major.minor product version for simpler numerical tests.



Home | Main Index | Thread Index | Old Index