[PATCH] LoongArch: Fix bug "PACKAGE" redefined.

WANG Xuerui i.swmail@xen0n.name
Tue Aug 30 10:18:14 GMT 2022


On 2022/8/30 14:43, liuzhensong wrote:
>    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 | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
The patch title could be simply "Fix redefinition of PACKAGE".

Otherwise okay.



More information about the Binutils mailing list