pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/gcc7 Added CONFIGURE_ARGS.Darwin
details: https://anonhg.NetBSD.org/pkgsrc/rev/f1bc38e8a428
branches: trunk
changeset: 364774:f1bc38e8a428
user: adam <adam%pkgsrc.org@localhost>
date: Tue Jul 04 12:46:52 2017 +0000
description:
Added CONFIGURE_ARGS.Darwin
diffstat:
lang/gcc7/Makefile | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 55c368c6e551 -r f1bc38e8a428 lang/gcc7/Makefile
--- a/lang/gcc7/Makefile Tue Jul 04 12:35:12 2017 +0000
+++ b/lang/gcc7/Makefile Tue Jul 04 12:46:52 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2017/06/22 21:44:49 maya Exp $
+# $NetBSD: Makefile,v 1.8 2017/07/04 12:46:52 adam Exp $
GCC_PKGNAME= gcc7
.include "version.mk"
@@ -92,6 +92,11 @@
CONFIGURE_ARGS+= --with-local-prefix=${GCC_PREFIX:Q}
CONFIGURE_ARGS+= --enable-threads=posix
CONFIGURE_ARGS+= --with-boot-ldflags=${BOOT_LDFLAGS:Q}
+# multilib on Darwin requires fat-binaries
+CONFIGURE_ARGS.Darwin+= --disable-multilib
+.if !empty(OSX_SDK_PATH)
+CONFIGURE_ARGS.Darwin+= --with-sysroot=${OSX_SDK_PATH}
+.endif
CONFIGURE_ARGS.NetBSD+= --with-gnu-ld --with-ld=/usr/bin/ld
CONFIGURE_ARGS.NetBSD+= --with-gnu-as --with-as=/usr/bin/as
MAKE_ENV.NetBSD+= ac_cv_func_clock_gettime=yes
Home |
Main Index |
Thread Index |
Old Index