svn commit: r360382 - stable/12/contrib/dtc
Kyle Evans
kevans at FreeBSD.org
Mon Apr 27 16:09:04 UTC 2020
Author: kevans
Date: Mon Apr 27 16:09:03 2020
New Revision: 360382
URL: https://svnweb.freebsd.org/changeset/base/360382
Log:
dtc: fix the -fno-common build
This is a direct commit to stable/12, as GPL dtc has been removed in head.
-fno-common will become the default in GCC10/LLVM11.
Modified:
stable/12/contrib/dtc/dtc-lexer.l
Modified: stable/12/contrib/dtc/dtc-lexer.l
==============================================================================
--- stable/12/contrib/dtc/dtc-lexer.l Mon Apr 27 15:59:34 2020 (r360381)
+++ stable/12/contrib/dtc/dtc-lexer.l Mon Apr 27 16:09:03 2020 (r360382)
@@ -42,7 +42,7 @@ LINECOMMENT "//".*\n
YY_BUFFER_STATE include_stack[MAX_INCLUDE_NESTING];
int include_stack_pointer = 0;
-YYLTYPE yylloc;
+extern YYLTYPE yylloc;
extern bool treesource_error;
/* CAUTION: this will stop working if we ever use yyless() or yyunput() */
More information about the svn-src-all
mailing list