Received: by mail.netbsd.org (Postfix, from userid 605) id 4988084EFF; Fri, 17 Apr 2020 13:35:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C60BD84EE7 for ; Fri, 17 Apr 2020 13:35:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id RiP2QeNskDXR for ; Fri, 17 Apr 2020 13:35:37 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 2D5A584D5D for ; Fri, 17 Apr 2020 13:35:37 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 2B59CFB27; Fri, 17 Apr 2020 13:35:37 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1587130537197080" MIME-Version: 1.0 Date: Fri, 17 Apr 2020 13:35:37 +0000 From: "Joerg Sonnenberger" Subject: CVS commit: pkgsrc/mk/compiler To: pkgsrc-changes@NetBSD.org Reply-To: joerg@netbsd.org X-Mailer: log_accum Message-Id: <20200417133537.2B59CFB27@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1587130537197080 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: joerg Date: Fri Apr 17 13:35:37 UTC 2020 Modified Files: pkgsrc/mk/compiler: clang.mk Log Message: clang 10 defaults to -fno-common with significant fallout in pkgsrc. Override that by prepending -fcommon. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 pkgsrc/mk/compiler/clang.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1587130537197080 Content-Disposition: inline Content-Length: 825 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/mk/compiler/clang.mk diff -u pkgsrc/mk/compiler/clang.mk:1.23 pkgsrc/mk/compiler/clang.mk:1.24 --- pkgsrc/mk/compiler/clang.mk:1.23 Mon Mar 30 09:39:24 2020 +++ pkgsrc/mk/compiler/clang.mk Fri Apr 17 13:35:36 2020 @@ -1,4 +1,4 @@ -# $NetBSD: clang.mk,v 1.23 2020/03/30 09:39:24 nia Exp $ +# $NetBSD: clang.mk,v 1.24 2020/04/17 13:35:36 joerg Exp $ # # This is the compiler definition for the clang compiler. # @@ -90,8 +90,8 @@ PKGSRC_FORTRAN?=gfortran . include "../../mk/compiler/${PKGSRC_FORTRAN}.mk" .endif -_WRAP_EXTRA_ARGS.CC+= -Qunused-arguments -CWRAPPERS_APPEND.cc+= -Qunused-arguments +_WRAP_EXTRA_ARGS.CC+= -Qunused-arguments -fcommon +CWRAPPERS_APPEND.cc+= -Qunused-arguments -fcommon _WRAP_EXTRA_ARGS.CXX+= -Qunused-arguments CWRAPPERS_APPEND.cxx+= -Qunused-arguments --_----------=_1587130537197080--