[PATCH, M2] introduction of --enable-libm2 in top level directory
Gaius Mulley
gaius.mulley@southwales.ac.uk
Tue Nov 19 20:53:00 GMT 2013
"Joseph S. Myers" <joseph@codesourcery.com> writes:
> On Tue, 19 Nov 2013, Gaius Mulley wrote:
>
> We don't use --enable-<library> options like that. Instead:
>
> (a) The front end's config-lang.in file sets target_libs, thereby causing
> the library to be disabled if the language is. Of course this means you
> don't actually add the library before the front end - but these build
> rules are harmless in the absence of the library directory. (In some
> cases, additional toplevel logic is needed - see how libitm etc. are
> disabled when C++ isn't built - but that shouldn't be relevant here.)
ok thanks for directions - I'll resubmit these patches when the front
end is in the tree.
regards,
Gaius
More information about the Gcc-patches
mailing list