From b3d33dc858fffeeed83735e55d86963e2297a78d Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 5 Jun 2023 11:45:41 +0200 Subject: [PATCH] libgomp testsuite: Don't handle 'lang_link_flags' ..., which as of recent commit 4bcb46b3ade1796c5a57b294f5cca25f00671cac "driver: Forward '-lgfortran', '-lm' to offloading compilation" is unused, and we don't anticipate any new usage. libgomp/ * testsuite/lib/libgomp.exp (libgomp_target_compile): Don't handle 'lang_link_flags'. --- libgomp/testsuite/lib/libgomp.exp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libgomp/testsuite/lib/libgomp.exp b/libgomp/testsuite/lib/libgomp.exp index 1c4af9a8a2c..fb2bce38e28 100644 --- a/libgomp/testsuite/lib/libgomp.exp +++ b/libgomp/testsuite/lib/libgomp.exp @@ -277,10 +277,6 @@ proc libgomp_target_compile { source dest type options } { lappend options "ldflags=-L${blddir}/${lang_library_path}" } } - global lang_link_flags - if { [info exists lang_link_flags] } { - lappend options "ldflags=${lang_link_flags}" - } if { [target_info needs_status_wrapper] != "" && [info exists gluefile] } { lappend options "libs=${gluefile}" -- 2.34.1