diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2002-06-16 15:26:47 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2002-06-16 15:26:47 (GMT) |
commit | 81ab0b5efc5931ed8a493478a7eb32b0b5f16881 (patch) | |
tree | 93f07f4b556b8c99c8ad25918e9cc0375a460c2a /tools | |
parent | 6c9733c4eaab3a35e2df3e711ec43dd8e6f383b5 (diff) | |
download | hdf5-81ab0b5efc5931ed8a493478a7eb32b0b5f16881.zip hdf5-81ab0b5efc5931ed8a493478a7eb32b0b5f16881.tar.gz hdf5-81ab0b5efc5931ed8a493478a7eb32b0b5f16881.tar.bz2 |
[svn-r5645] Purpose:
Possible Bug Fix
Description:
There seems to be a problem with the h5cc script picking up old
header files. This may have something to do with the CPPFLAGS macro
being set to some nefarious thing and the compiler looking in those
directories for the header files instead of the one where HDF5 is
actually installed.
Solution:
Put the -I$includedir first.
Platforms tested:
None...This is really triggered by the nightly tests. I'm kind of
hoping that this will fix things...
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/misc/h5cc.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/misc/h5cc.in b/tools/misc/h5cc.in index aa14ff3..374f4e9 100755 --- a/tools/misc/h5cc.in +++ b/tools/misc/h5cc.in @@ -210,7 +210,7 @@ if test "x$do_compile" = "xyes"; then compile_args="-c $compile_args" fi - $SHOW $CC $CPPFLAGS $CFLAGS -I$includedir $compile_args + $SHOW $CC -I$includedir $CPPFLAGS $CFLAGS $compile_args status=$? if test "$status" != "0"; then |