]> git.ipfire.org Git - people/ms/gcc.git/commit - libphobos/ChangeLog
libphobos: Fix link build errors when compiling with unsupported options
authorIain Buclaw <ibuclaw@gdcproject.org>
Wed, 24 Apr 2019 02:04:04 +0000 (02:04 +0000)
committerIain Buclaw <ibuclaw@gcc.gnu.org>
Wed, 24 Apr 2019 02:04:04 +0000 (02:04 +0000)
commit9bedfe1899e6f29cb51a1bad06bab7d3082fe251
tree964c193191e124b66ce1520beb4ce0c5eac618e1
parent0c1eb9639d942e66ac61fd09ad371bfd33facac0
libphobos: Fix link build errors when compiling with unsupported options

The first compilation test to get baseline warnings was getting more
messages due to a missing object.d file, compared to later configure
tests where libphobos is in the include paths.

Because there must always be an object module during compilation, let
the tests themselves be an empty object module instead.

libphobos/ChangeLog:

2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>

PR d/88431
* configure: Regenerate.
* m4/libtool.m4 (lt_simple_compile_test_code): Update to not have
dependencies on libphobos.
(lt_simple_link_test_code): Likewise.
(GDCFLAGS): Don't override for D compiler tests.

From-SVN: r270531
libphobos/ChangeLog
libphobos/configure
libphobos/m4/libtool.m4