summaryrefslogtreecommitdiffstats
path: root/tools
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 /tools
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 'tools')
-rwxr-xr-xtools/misc/h5cc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/misc/h5cc.in b/tools/misc/h5cc.in
index a1421a2..233c80a 100755
--- a/tools/misc/h5cc.in
+++ b/tools/misc/h5cc.in
@@ -220,7 +220,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"