diff options
author | Mike McGreevy <mamcgree@hdfgroup.org> | 2012-03-26 19:30:45 (GMT) |
---|---|---|
committer | Mike McGreevy <mamcgree@hdfgroup.org> | 2012-03-26 19:30:45 (GMT) |
commit | 22a432b587c08daf87faf957ea5667ea99ae057d (patch) | |
tree | 984e9305d8f1cc234639aaffb02c08c099dfd81b /fortran/src/h5fc.in | |
parent | 286c8ac306e9f0c7bb62b42d61b7ad047c62bf8f (diff) | |
download | hdf5-22a432b587c08daf87faf957ea5667ea99ae057d.zip hdf5-22a432b587c08daf87faf957ea5667ea99ae057d.tar.gz hdf5-22a432b587c08daf87faf957ea5667ea99ae057d.tar.bz2 |
[svn-r22146] Purpose:
HDFFV-398: h5cc doesn't work with automake
Description:
Fixed compiler wrapper scripts to correctly detect compilation when
-MT preprocessor flag is provided, fixing a bug in which its *.o
argument was added to link_objs but not compile_args.
This previously broke usage of h5cc as the provided compiler in
configure scripts (like with h5edit) as automake may supply the -MT
option to the compiler via the makefiles.
Tested:
Tested using h5edit and h5committested.
Diffstat (limited to 'fortran/src/h5fc.in')
-rwxr-xr-x | fortran/src/h5fc.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran/src/h5fc.in b/fortran/src/h5fc.in index 9e9409d..2d7b5b4 100755 --- a/fortran/src/h5fc.in +++ b/fortran/src/h5fc.in @@ -189,7 +189,7 @@ for arg in $@ ; do get_output_file="yes" fi ;; - -E|-M) + -E|-M|-MT) allargs="$allargs $arg" compile_args="$compile_args $arg" dash_c="yes" |