Pass 'SYSROOT_CFLAGS_FOR_TARGET' down to target libraries [PR109951]
commitd1bff1ba4d470f6723be83c0e3c4d5083e51877a
authorThomas Schwinge <thomas@codesourcery.com>
Thu, 1 Jun 2023 21:07:37 +0000 (1 23:07 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Tue, 12 Sep 2023 09:30:37 +0000 (12 11:30 +0200)
tree9a14eefc3e7aa26ab35b7a1ca3d06d05689d47de
parent27144cc05c4e12f58998b6e30d23098664dd51db
Pass 'SYSROOT_CFLAGS_FOR_TARGET' down to target libraries [PR109951]

..., where we need to use it (separate commits) for build-tree testing, similar
to 'gcc/Makefile.in:site.exp':

    # TEST_ALWAYS_FLAGS are flags that should be passed to every compilation.
    # They are passed first to allow individual tests to override them.
     @echo "set TEST_ALWAYS_FLAGS \"$(SYSROOT_CFLAGS_FOR_TARGET)\"" >> ./site.tmp

PR testsuite/109951
* Makefile.tpl (BASE_TARGET_EXPORTS): Add
'SYSROOT_CFLAGS_FOR_TARGET'.
* Makefile.in: Regenerate.

Co-authored-by: Chung-Lin Tang <cltang@codesourcery.com>
Makefile.in
Makefile.tpl