* [binutils-gdb] LoongArch: Fix redefinition of "PACKAGE".
@ 2022-08-30 11:09 liu & zhensong
0 siblings, 0 replies; only message in thread
From: liu & zhensong @ 2022-08-30 11:09 UTC (permalink / raw)
To: bfd-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=df4febc60037a1f357414667ff07498cf225c22e
commit df4febc60037a1f357414667ff07498cf225c22e
Author: liuzhensong <liuzhensong@loongson.cn>
Date: Tue Aug 30 11:53:15 2022 +0800
LoongArch: Fix redefinition of "PACKAGE".
Running configure and make in binutils-gdb.
$ ./configure
$ make
In file included from ./as.h:37,
from ./config/loongarch-lex.l:21,
from config/loongarch-lex-wrapper.c:20:
./config.h:206: error: “PACKAGE” redefined [-Werror]
#define PACKAGE "gas"
...
gas/config
* loongarch-lex-wrapper.c
Diff:
---
gas/config/loongarch-lex-wrapper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gas/config/loongarch-lex-wrapper.c b/gas/config/loongarch-lex-wrapper.c
index 3bb0b14c680..4ddeeb73c9b 100644
--- a/gas/config/loongarch-lex-wrapper.c
+++ b/gas/config/loongarch-lex-wrapper.c
@@ -16,5 +16,5 @@
along with this program; see the file COPYING3. If not,
see <http://www.gnu.org/licenses/>. */
-#include "sysdep.h"
+#include "config.h"
#include "config/loongarch-lex.c"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-08-30 11:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-30 11:09 [binutils-gdb] LoongArch: Fix redefinition of "PACKAGE" liu & zhensong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).