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

Jan-Benedict Glaw jbglaw@lug-owl.de
Tue Aug 30 10:05:27 GMT 2022


On Tue, 2022-08-30 14:43:11 +0800, liuzhensong <liuzhensong@loongson.cn> wrote:
>   Running configure and make in binutils-gdb.
[...]
> 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"

Confirmed: That fixes the build issue.

Thanks,
  Jan-Benedict

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20220830/d579309c/attachment.sig>


More information about the Binutils mailing list