Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Sep 2022 18:24:26 GMT
From:      "Simon J. Gerraty" <sjg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: f1e039d057ba - main - Allow COPYRIGHT_Vendor to come from CFLAGS
Message-ID:  <202209281824.28SIOQ4w037968@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=f1e039d057ba88695e98f6e2c884094f3434de95

commit f1e039d057ba88695e98f6e2c884094f3434de95
Author:     Simon J. Gerraty <sjg@FreeBSD.org>
AuthorDate: 2022-09-28 18:24:18 +0000
Commit:     Simon J. Gerraty <sjg@FreeBSD.org>
CommitDate: 2022-09-28 18:24:18 +0000

    Allow COPYRIGHT_Vendor to come from CFLAGS
    
    Reviewed by: stevek
    Sponsored by: Juniper Networks Inc.
---
 sys/sys/copyright.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys/sys/copyright.h b/sys/sys/copyright.h
index b749b3babe1e..402bf1bdc82a 100644
--- a/sys/sys/copyright.h
+++ b/sys/sys/copyright.h
@@ -27,9 +27,11 @@
 
 /* Copyrights macros  */
 
-/* Add a FreeBSD vendor copyright here */
+/* Add a FreeBSD vendor copyright here - or via CFLAGS */
+#ifndef COPYRIGHT_Vendor
 #define	COPYRIGHT_Vendor \
 	""
+#endif
 
 /* FreeBSD */
 #define COPYRIGHT_FreeBSD \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209281824.28SIOQ4w037968>