]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix native MSYS2 build failure [PR108865, PR109188]
authorCostas Argyris <costas.argyris@gmail.com>
Wed, 22 Mar 2023 10:28:08 +0000 (10:28 +0000)
committerJonathan Yong <10walls@gmail.com>
Fri, 24 Mar 2023 02:35:55 +0000 (02:35 +0000)
commit08ef17c75777ef9e4e7ead132ccd7a6d03ae6020
tree49e08e95b6d77efbdc173bf68c6a589d7d58ed70
parentec92be4a4e037d88c2a340f6aed9c619a152de8b
Fix native MSYS2 build failure [PR108865, PR109188]

Don't cause an error if the symbol is not found.

When building natively as an MSYS2 package, some
executables are borrowing the $(COMPILERS) flags
and --require-defined=HOST_EXTRA_OBJS_SYMBOL is
causing them to fail.

These executables don't need that symbol, so make
it optional such that they don't error out.

The compilers will still look for it (and find it)
with the desired effect of getting UTF-8 support.

PR/PR108865

gcc/ChangeLog:

* config/i386/x-mingw32-utf8: Make HOST_EXTRA_OBJS_SYMBOL
optional.

Signed-off-by: Jonathan Yong <10walls@gmail.com>
gcc/config/i386/x-mingw32-utf8