https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88431

--- Comment #4 from ibuclaw at gcc dot gnu.org ---
Author: ibuclaw
Date: Wed Apr 24 02:04:04 2019
New Revision: 270531

URL: https://gcc.gnu.org/viewcvs?rev=270531&root=gcc&view=rev
Log:
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  <ibuc...@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.

Modified:
    trunk/libphobos/ChangeLog
    trunk/libphobos/configure
    trunk/libphobos/m4/libtool.m4

Reply via email to