This adds support for target-configured specs for library-specific
specs.  Initially, we will use this for the libm (but it's then
required by other pending patches).

The first patch adds to the driver and the library, the second makes
the spec available to in-tree testing.

tested on x86_64-linux, darwin, aarch64-linux, OK for trunk?
thanks
Iain

-----

Iain Sandoe (2):
  cobol, driver, libgcobol: Add support for libgcobol.spec.
  testsuite, cobol: If libgcobol has a .spec file use it.

 gcc/cobol/gcobolspec.cc     | 41 ++++++++++---------------------
 gcc/testsuite/lib/cobol.exp |  5 +++-
 libgcobol/Makefile.am       |  2 ++
 libgcobol/Makefile.in       | 48 ++++++++++++++++++++++++++++++-------
 libgcobol/configure         | 12 +++++-----
 libgcobol/configure.ac      | 16 +++++++------
 libgcobol/libgcobol.spec.in |  8 +++++++
 7 files changed, 82 insertions(+), 50 deletions(-)
 create mode 100644 libgcobol/libgcobol.spec.in

-- 
2.39.2 (Apple Git-143)

Reply via email to