From 8751379484a7ea6747e32ab795d820ed93884f2e Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 13 May 2003 10:52:13 -0500 Subject: [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: --- tools/misc/h5cc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v0.12