summaryrefslogtreecommitdiffstats
path: root/tools/misc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/misc')
-rwxr-xr-xtools/misc/h5cc.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/misc/h5cc.in b/tools/misc/h5cc.in
index 31edd21..aa14ff3 100755
--- a/tools/misc/h5cc.in
+++ b/tools/misc/h5cc.in
@@ -46,6 +46,7 @@ SHOW="eval"
CCBASE="@CC@"
CLINKERBASE="@CC@"
CFLAGS="@CFLAGS@"
+CPPFLAGS="@CPPFLAGS@"
LDFLAGS="@LDFLAGS@"
LIBS="@LIBS@"
@@ -209,7 +210,7 @@ if test "x$do_compile" = "xyes"; then
compile_args="-c $compile_args"
fi
- $SHOW $CC $CFLAGS -I$includedir $compile_args
+ $SHOW $CC $CPPFLAGS $CFLAGS -I$includedir $compile_args
status=$?
if test "$status" != "0"; then