]> git.ipfire.org Git - thirdparty/gcc.git/commit
GNAT/testsuite: Pass the `ada' option to target compilation
authormacro <macro@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Sep 2019 23:19:29 +0000 (23:19 +0000)
committermacro <macro@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Sep 2019 23:19:29 +0000 (23:19 +0000)
commitf832ac1baf6eed226a79e40b21433c83cc0f6bc1
treea2038d82cd957e3d74c32c62d0f24dd10e64c1f6
parente0d1a94d338793819a978e1d60ecccfc04517882
GNAT/testsuite: Pass the `ada' option to target compilation

Pass the `ada' option to DejaGNU's `target_compile' procedure, which by
default calls `default_target_compile', so that it arranges for an Ada
compilation rather the default of C.  We set the compiler to `gnatmake'
manually here, so that part of the logic in `default_target_compile' is
not used, but it affects other settings, such as the use of `adaflags'.

gcc/testsuite/
* lib/gnat.exp (gnat_target_compile): Pass the `ada' option to
`target_compile'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@276085 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/lib/gnat.exp