pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/compiler



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.

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
 



Home | Main Index | Thread Index | Old Index