libgomp C++ testsuite: Don't compute 'blddir' twice
It has already been set in 'libgomp/testsuite/lib/libgomp.exp:libgomp_init'. libgomp/ * testsuite/libgomp.c++/c++.exp (blddir): Don't set. * testsuite/libgomp.oacc-c++/c++.exp (blddir): Likewise.
This commit is contained in:
parent
8440230e69
commit
b7b2098436
2 changed files with 0 additions and 6 deletions
|
@ -27,9 +27,6 @@ lappend ALWAYS_CFLAGS "additional_flags=-fopenmp"
|
|||
set SAVE_GCC_UNDER_TEST "$GCC_UNDER_TEST"
|
||||
set GCC_UNDER_TEST "$GCC_UNDER_TEST -x c++"
|
||||
|
||||
set blddir [lookfor_file [get_multilibs] libgomp]
|
||||
|
||||
|
||||
if { $blddir != "" } {
|
||||
# Look for a static libstdc++ first.
|
||||
if [file exists "${blddir}/${lang_library_path}/libstdc++.a"] {
|
||||
|
|
|
@ -33,9 +33,6 @@ lappend ALWAYS_CFLAGS "additional_flags=-fopenacc"
|
|||
set SAVE_GCC_UNDER_TEST "$GCC_UNDER_TEST"
|
||||
set GCC_UNDER_TEST "$GCC_UNDER_TEST -x c++"
|
||||
|
||||
set blddir [lookfor_file [get_multilibs] libgomp]
|
||||
|
||||
|
||||
if { $blddir != "" } {
|
||||
# Look for a static libstdc++ first.
|
||||
if [file exists "${blddir}/${lang_library_path}/libstdc++.a"] {
|
||||
|
|
Loading…
Add table
Reference in a new issue