This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Thomas Schwinge wrote:
Reopening this oldie:index 5fa42f4..68440d18 100644 --- a/libgomp/testsuite/libgomp.fortran/fortran.exp +++ b/libgomp/testsuite/libgomp.fortran/fortran.exp @@ -14,6 +14,7 @@ set quadmath_library_path "../libquadmath/.libs" dg-initif { $blddir != "" } {+ lappend ALWAYS_CFLAGS "additional_flags=-fintrinsic-modules-path ${blddir}"
How about the following (only lightly tested). I wonder why I didn't use it before â but it looks obvious.
Tobias --- a/libgomp/testsuite/libgomp.fortran/fortran.exp +++ b/libgomp/testsuite/libgomp.fortran/fortran.exp @@ -48,5 +48,5 @@ if { $lang_test_file_found } {|| [file exists "${blddir}/${quadmath_library_path}/libquadmath.${shlib_ext}"] } { - lappend ALWAYS_CFLAGS "ldflags=-L${blddir}/${quadmath_library_path}/" + lappend ALWAYS_FFLAGS "ldflags=-L${blddir}/${quadmath_library_path}/"
# Allow for spec subsitution.- lappend ALWAYS_CFLAGS "additional_flags=-B${blddir}/${quadmath_library_path}/" + lappend ALWAYS_FFLAGS "additional_flags=-B${blddir}/${quadmath_library_path}/" set ld_library_path "$always_ld_library_path:${blddir}/${lang_library_path}:${blddir}/${quadmath_library_path}"
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |