pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/compiler mk/compiler/gcc.mk: Darwin needs _USE_GCC_...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ba519a58c355
branches:  trunk
changeset: 310316:ba519a58c355
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Jul 11 11:11:52 2018 +0000

description:
mk/compiler/gcc.mk: Darwin needs _USE_GCC_SHLIB too.

diffstat:

 mk/compiler/gcc.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 31709d16c6a4 -r ba519a58c355 mk/compiler/gcc.mk
--- a/mk/compiler/gcc.mk        Wed Jul 11 09:18:28 2018 +0000
+++ b/mk/compiler/gcc.mk        Wed Jul 11 11:11:52 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.192 2018/05/24 05:47:21 wiz Exp $
+# $NetBSD: gcc.mk,v 1.193 2018/07/11 11:11:52 jperkin Exp $
 #
 # This is the compiler definition for the GNU Compiler Collection.
 #
@@ -632,7 +632,8 @@
 # USE_GCC_RUNTIME for packages which create shared libraries but do not use
 # libtool to do so.
 #
-.if ${OPSYS} == "SunOS" && (defined(USE_LIBTOOL) || defined(USE_GCC_RUNTIME))
+.if (${OPSYS} == "Darwin" || ${OPSYS} == "SunOS") && \
+    (defined(USE_LIBTOOL) || defined(USE_GCC_RUNTIME))
 _USE_GCC_SHLIB= yes
 .endif
 



Home | Main Index | Thread Index | Old Index