pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/gcc10 gcc10: disable libsanitizer on SunOS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/46bbd631657c
branches:  trunk
changeset: 375822:46bbd631657c
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Mar 27 17:01:30 2022 +0000

description:
gcc10: disable libsanitizer on SunOS

It doesn't build properly for me even when using lang/gcc10 to self-host.

diffstat:

 lang/gcc10/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 57f079fc218c -r 46bbd631657c lang/gcc10/Makefile
--- a/lang/gcc10/Makefile       Sun Mar 27 15:41:11 2022 +0000
+++ b/lang/gcc10/Makefile       Sun Mar 27 17:01:30 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2022/03/27 15:06:11 tnn Exp $
+# $NetBSD: Makefile,v 1.17 2022/03/27 17:01:30 tnn Exp $
 
 GCC_PKGNAME=           gcc10
 PKGREVISION=           1
@@ -109,6 +109,8 @@
 CONFIGURE_ARGS+=       --enable-threads=posix
 CONFIGURE_ARGS+=       --with-boot-ldflags=${BOOT_LDFLAGS:Q}
 CONFIGURE_ARGS+=       --without-zstd
+# causes build errors even when using lang/gcc10 to self-host.
+CONFIGURE_ARGS.SunOS+= --disable-libsanitizer
 # multilib on Darwin requires fat-binaries
 CONFIGURE_ARGS.Darwin+=        --disable-multilib
 .if !empty(OSX_SDK_PATH)



Home | Main Index | Thread Index | Old Index