Hi,

that's already done for C++ so it seems consistent to do it for Fortran too.

Tested on x86-64/Linux, OK for the mainline?


2018-06-18  Eric Botcazou  <ebotca...@adacore.com>

        * Makefile.def (fortran): Add check-target-libgomp-fortran.
        * Makefile.tpl (check-target-libgomp-fortran): New phony target.
        * Makefile.in: Regenerate.

-- 
Eric Botcazou
Index: Makefile.def
===================================================================
--- Makefile.def	(revision 261687)
+++ Makefile.def	(working copy)
@@ -586,7 +586,8 @@ languages = { language=c++;	gcc-check-ta
 				lib-check-target=check-target-libgomp-c++; };
 languages = { language=fortran;	gcc-check-target=check-fortran;
 				lib-check-target=check-target-libquadmath;
-				lib-check-target=check-target-libgfortran; };
+				lib-check-target=check-target-libgfortran;
+				lib-check-target=check-target-libgomp-fortran; };
 languages = { language=ada;	gcc-check-target=check-ada;
 				lib-check-target=check-target-libada; };
 languages = { language=objc;	gcc-check-target=check-objc;
Index: Makefile.tpl
===================================================================
--- Makefile.tpl	(revision 261687)
+++ Makefile.tpl	(working copy)
@@ -1470,6 +1470,9 @@ ENDIF raw_cxx +]
 check-target-libgomp-c++:
 	$(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
 
+.PHONY: check-target-libgomp-fortran
+check-target-libgomp-fortran:
+	$(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) fortran.exp" check-target-libgomp
 @endif target-libgomp
 
 @if target-libitm

Reply via email to