From 81ab0b5efc5931ed8a493478a7eb32b0b5f16881 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Sun, 16 Jun 2002 10:26:47 -0500 Subject: [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... --- 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 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 -- cgit v0.12