LoongArch: Fix redefinition of "PACKAGE".
authorliuzhensong <liuzhensong@loongson.cn>
Tue, 30 Aug 2022 03:53:15 +0000 (11:53 +0800)
committerliuzhensong <liuzhensong@loongson.cn>
Tue, 30 Aug 2022 11:06:56 +0000 (19:06 +0800)
commitdf4febc60037a1f357414667ff07498cf225c22e
treec2b67a1ff08d09603b83cf5e161e1299bfec7df2
parent0938b032daa52129b4215d8e0eedb6c9804f5280
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
gas/config/loongarch-lex-wrapper.c