pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/gcc7



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Jul  4 12:46:52 UTC 2017

Modified Files:
        pkgsrc/lang/gcc7: Makefile

Log Message:
Added CONFIGURE_ARGS.Darwin


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/gcc7/Makefile

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

Modified files:

Index: pkgsrc/lang/gcc7/Makefile
diff -u pkgsrc/lang/gcc7/Makefile:1.7 pkgsrc/lang/gcc7/Makefile:1.8
--- pkgsrc/lang/gcc7/Makefile:1.7       Thu Jun 22 21:44:49 2017
+++ pkgsrc/lang/gcc7/Makefile   Tue Jul  4 12:46:52 2017
@@ -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+=     --enable-long-long
 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