mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[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:
This commit is contained in:
parent
699d1727e0
commit
8751379484
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user