summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
authorMike McGreevy <mamcgree@hdfgroup.org>2012-03-26 19:30:45 (GMT)
committerMike McGreevy <mamcgree@hdfgroup.org>2012-03-26 19:30:45 (GMT)
commit22a432b587c08daf87faf957ea5667ea99ae057d (patch)
tree984e9305d8f1cc234639aaffb02c08c099dfd81b /c++
parent286c8ac306e9f0c7bb62b42d61b7ad047c62bf8f (diff)
downloadhdf5-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++')
-rwxr-xr-xc++/src/h5c++.in2
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"