summaryrefslogtreecommitdiffstats
path: root/c++/examples/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'c++/examples/Makefile.am')
-rw-r--r--c++/examples/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/examples/Makefile.am b/c++/examples/Makefile.am
index d490242..7f8bcfa 100644
--- a/c++/examples/Makefile.am
+++ b/c++/examples/Makefile.am
@@ -41,7 +41,7 @@ EXAMPLEDIR=$(docdir)/hdf5/examples/c++
# How to build programs using h5c++
$(EXTRA_PROG): $(H5CPP)
- $(H5CPP) $(CPPFLAGS) -o $@ $(srcdir)/$@.cpp
+ $(H5CPP) $(H5CCFLAGS) $(CPPFLAGS) -o $@ $(srcdir)/$@.cpp
# List dependencies for each program. Normally, automake would take
# care of this for us, but if we tell automake about the programs it