Date: Fri, 25 Sep 2020 01:16:01 +0000 (UTC) From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r366135 - stable/11/contrib/dtc Message-ID: <202009250116.08P1G1SZ061821@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevans Date: Fri Sep 25 01:16:01 2020 New Revision: 366135 URL: https://svnweb.freebsd.org/changeset/base/366135 Log: dtc: fix the -fno-common build This is a direct commit to stable/11, as GPL dtc has been removed in head. An identical fix was made to stable/12 in r360382. -fno-common is the default in GCC10/LLVM11. Modified: stable/11/contrib/dtc/dtc-lexer.l Modified: stable/11/contrib/dtc/dtc-lexer.l ============================================================================== --- stable/11/contrib/dtc/dtc-lexer.l Fri Sep 25 00:58:10 2020 (r366134) +++ stable/11/contrib/dtc/dtc-lexer.l Fri Sep 25 01:16:01 2020 (r366135) @@ -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() */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009250116.08P1G1SZ061821>