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:   sjmulder
Date:           Sun May 31 00:00:13 UTC 2020

Modified Files:
        pkgsrc/mk/compiler: gcc.mk

Log Message:
mk/compiler: Set -fcommon for GCC 10

As with clang. Default got flipped with v10.


To generate a diff of this commit:
cvs rdiff -u -r1.211 -r1.212 pkgsrc/mk/compiler/gcc.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/gcc.mk
diff -u pkgsrc/mk/compiler/gcc.mk:1.211 pkgsrc/mk/compiler/gcc.mk:1.212
--- pkgsrc/mk/compiler/gcc.mk:1.211     Sat May 30 22:45:36 2020
+++ pkgsrc/mk/compiler/gcc.mk   Sun May 31 00:00:13 2020
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.211 2020/05/30 22:45:36 sjmulder Exp $
+# $NetBSD: gcc.mk,v 1.212 2020/05/31 00:00:13 sjmulder Exp $
 #
 # This is the compiler definition for the GNU Compiler Collection.
 #
@@ -396,6 +396,9 @@ _LANGUAGES.gcc=             # empty
 _LANGUAGES.gcc+=       ${LANGUAGES.gcc:M${_lang_}}
 .endfor
 
+_WRAP_EXTRA_ARGS.cc+=  -fcommon
+CWRAPPERS_PREPEND.cc+= -fcommon
+
 .if !empty(USE_LANGUAGES:Mc99)
 _WRAP_EXTRA_ARGS.CC+=  -std=gnu99
 CWRAPPERS_APPEND.cc+=  -std=gnu99



Home | Main Index | Thread Index | Old Index