pkgsrc-WIP-changes archive

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

gcc6snapshot: disable libssp on netbsd.



Module Name:	pkgsrc-wip
Committed By:	coypu <coypu%sdf.org@localhost>
Pushed By:	coypu
Date:		Tue Sep 13 01:21:38 2016 +0300
Changeset:	c36807d75afabb521fe06474713dac226d65403d

Modified Files:
	gcc6snapshot/Makefile

Log Message:
gcc6snapshot: disable libssp on netbsd.

conflicts with base libssp, same as other gcc packages

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c36807d75afabb521fe06474713dac226d65403d

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

diffstat:
 gcc6snapshot/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diffs:
diff --git a/gcc6snapshot/Makefile b/gcc6snapshot/Makefile
index f3de286..a50746f 100644
--- a/gcc6snapshot/Makefile
+++ b/gcc6snapshot/Makefile
@@ -83,7 +83,12 @@ CONFIGURE_ARGS+=	--enable-languages=${LANGS:Q}
 CONFIGURE_ARGS+=	--enable-shared
 CONFIGURE_ARGS+=	--enable-long-long
 CONFIGURE_ARGS+=	--with-local-prefix=${GCC_PREFIX:Q}
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-*)
+# on NetBSD, use the native SSP code in libc
+CONFIGURE_ARGS+=	--disable-libssp
+.else
 CONFIGURE_ARGS+=	--enable-libssp
+.endif
 CONFIGURE_ARGS+=	--enable-threads=posix
 CONFIGURE_ARGS+=	--with-boot-ldflags=${BOOT_LDFLAGS:Q}
 .if ${OPSYS} == "NetBSD"


Home | Main Index | Thread Index | Old Index