diff --git a/examples/Makefile.am b/examples/Makefile.am index b71586a776aebd7559929b321858b9431db7dcbc..0ae3cbba9ded84e94b4cbe583344064b391d1c4a 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -20,7 +20,7 @@ MYFLAGS = -DTIMER # Add the source directory and debug to CFLAGS -AM_CFLAGS = -Wall -Werror -I../src -DCPU_TPS=2.67e9 +AM_CFLAGS = -Wall -Werror -I../src -DCPU_TPS=2.67e9 $(HDF5_CPPFLAGS) AM_LDFLAGS = diff --git a/src/Makefile.am b/src/Makefile.am index 5b5a3787d6e48ebae050189ccf43006613c01267..1eda1b81bf5def8121314cf8417cd66d52edb5e5 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -17,7 +17,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # Add the debug flag to the whole thing -AM_CFLAGS = -DTIMER -DCOUNTER -DCPU_TPS=2.30e9 +AM_CFLAGS = -DTIMER -DCOUNTER -DCPU_TPS=2.30e9 $(HDF5_CPPFLAGS) # Assign a "safe" version number AM_LDFLAGS = $(LAPACK_LIBS) $(BLAS_LIBS) $(HDF5_LDFLAGS) -version-info 0:0:0 # -fsanitize=address