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 /c++/src | |
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 'c++/src')
-rwxr-xr-x | c++/src/h5c++.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/h5c++.in b/c++/src/h5c++.in index 39d3d2a..20435eb 100755 --- a/c++/src/h5c++.in +++ b/c++/src/h5c++.in @@ -208,7 +208,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" |