Skip to content
Snippets Groups Projects
Commit 23ee32ed authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Use the HDF5_CPPFLAGS set by the AX_LIB_HDF5 macro

These are needed when the environment CFLAGS do not point at the HDF5 include directory. Use CPPFLAGS as CFLAGS is not set


Former-commit-id: cd1da96aeecf3e8abce21946d0b1168ae6159e53
parent 73d405c2
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
MYFLAGS = -DTIMER MYFLAGS = -DTIMER
# Add the source directory and debug to CFLAGS # 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 = AM_LDFLAGS =
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# Add the debug flag to the whole thing # 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 # Assign a "safe" version number
AM_LDFLAGS = $(LAPACK_LIBS) $(BLAS_LIBS) $(HDF5_LDFLAGS) -version-info 0:0:0 # -fsanitize=address AM_LDFLAGS = $(LAPACK_LIBS) $(BLAS_LIBS) $(HDF5_LDFLAGS) -version-info 0:0:0 # -fsanitize=address
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment