summaryrefslogtreecommitdiffstats
path: root/tools/misc
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2003-05-13 15:52:13 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2003-05-13 15:52:13 (GMT)
commit8751379484a7ea6747e32ab795d820ed93884f2e (patch)
treeeadee3f083156d0695beb444a80cac54f7089b90 /tools/misc
parent699d1727e014f2cc002d02e64afcb872b06dcb2b (diff)
downloadhdf5-8751379484a7ea6747e32ab795d820ed93884f2e.zip
hdf5-8751379484a7ea6747e32ab795d820ed93884f2e.tar.gz
hdf5-8751379484a7ea6747e32ab795d820ed93884f2e.tar.bz2
[svn-r6856] Purpose:
Bug Fix Description: When doing a "configure" using the h5cc script as the compiler, it would fail to accept the "-E" flag as running the preprocessor. The problem was that it was trying to link the file afterwards. Of course, the file wouldn't be there, so it would fail. Solution: Changed it so that if the -E flag is used, then we don't try to link (this is how it's done in mpicc...I must have copied it wrongly). Platforms tested: Linux & Kelgia (small change not needing full testing) Misc. update:
Diffstat (limited to 'tools/misc')
-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 bbde9c7..fc7d1fc 100755
--- a/tools/misc/h5cc.in
+++ b/tools/misc/h5cc.in
@@ -151,7 +151,7 @@ for arg in $@ ; do
allargs="$allargs $arg"
compile_args="$compile_args $arg"
dash_c="yes"
- dash_o="no"
+ do_link="no"
;;
-l*)
link_args="$link_args $arg"