mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-22 22:01:20 +08:00
re PR testsuite/91884 (libgomp testsuite: (not) using a specific driver for C++, Fortran)
2019-10-09 Tobias Burnus <tobias@codesourcery.com> PR testsuite/91884 * testsuite/libgomp.fortran/fortran.exp: Conditionally add -lquadmath. * testsuite/libgomp.oacc-fortran/fortran.exp: Ditto. From-SVN: r276754
This commit is contained in:
parent
7d48e14fc6
commit
eba3dee8eb
@ -1,3 +1,10 @@
|
||||
2019-10-09 Tobias Burnus <tobias@codesourcery.com>
|
||||
|
||||
PR testsuite/91884
|
||||
* testsuite/libgomp.fortran/fortran.exp: Conditionally
|
||||
add -lquadmath.
|
||||
* testsuite/libgomp.oacc-fortran/fortran.exp: Ditto.
|
||||
|
||||
2019-10-09 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR libgomp/92028
|
||||
|
@ -54,11 +54,17 @@ if { $lang_test_file_found } {
|
||||
# Allow for spec subsitution.
|
||||
lappend ALWAYS_CFLAGS "additional_flags=-B${blddir}/${quadmath_library_path}/"
|
||||
set ld_library_path "$always_ld_library_path:${blddir}/${lang_library_path}:${blddir}/${quadmath_library_path}"
|
||||
append lang_link_flags " -lquadmath"
|
||||
} else {
|
||||
set ld_library_path "$always_ld_library_path:${blddir}/${lang_library_path}"
|
||||
}
|
||||
} else {
|
||||
set ld_library_path "$always_ld_library_path"
|
||||
if { [check_no_compiler_messages has_libquadmath executable {
|
||||
int main() {return 0;}
|
||||
} "-lgfortran -lquadmath"] } then {
|
||||
append lang_link_flags " -lquadmath"
|
||||
}
|
||||
}
|
||||
append ld_library_path [gcc-set-multilib-library-path $GCC_UNDER_TEST]
|
||||
set_ld_library_path_env_vars
|
||||
|
@ -56,11 +56,17 @@ if { $lang_test_file_found } {
|
||||
# Allow for spec subsitution.
|
||||
lappend ALWAYS_CFLAGS "additional_flags=-B${blddir}/${quadmath_library_path}/"
|
||||
set ld_library_path "$always_ld_library_path:${blddir}/${lang_library_path}:${blddir}/${quadmath_library_path}"
|
||||
append lang_link_flags " -lquadmath"
|
||||
} else {
|
||||
set ld_library_path "$always_ld_library_path:${blddir}/${lang_library_path}"
|
||||
}
|
||||
} else {
|
||||
set ld_library_path "$always_ld_library_path"
|
||||
if { [check_no_compiler_messages has_libquadmath executable {
|
||||
int main() {return 0;}
|
||||
} "-lgfortran -lquadmath"] } then {
|
||||
append lang_link_flags " -lquadmath"
|
||||
}
|
||||
}
|
||||
append ld_library_path [gcc-set-multilib-library-path $GCC_UNDER_TEST]
|
||||
set_ld_library_path_env_vars
|
||||
|
Loading…
x
Reference in New Issue
Block a user