diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2002-06-16 15:29:15 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2002-06-16 15:29:15 (GMT) |
commit | 30c27cf65f462e6202a76a2530c2ab8bd430745b (patch) | |
tree | 91284b49dc3fabfe26d3e44cfb4ed29c812f6ba1 | |
parent | b7d2a78014b83834f437bae0ab5e693db91059dc (diff) | |
download | hdf5-30c27cf65f462e6202a76a2530c2ab8bd430745b.zip hdf5-30c27cf65f462e6202a76a2530c2ab8bd430745b.tar.gz hdf5-30c27cf65f462e6202a76a2530c2ab8bd430745b.tar.bz2 |
[svn-r5646] Purpose:
Possible Bug Fix
Description:
It seems like the h5cc script could pick up old header files instead
of the ones that are installed with it.... This is because of
nefarious CPPFLAGS settings...
Solution:
Put the -I$includedir flag first so that it'll look there to get
header files before other directories
Platforms tested:
None...crossing fingers...
-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 65fb6a1..bbde9c7 100755 --- a/tools/misc/h5cc.in +++ b/tools/misc/h5cc.in @@ -218,7 +218,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 |