diff --git a/src/make.inc b/src/make.inc
index 6f65edda86bf6399edff50f2172a70007a2d7e5d..57499cbead9efdd7acd6ad3658982013e8b69df9 100644
--- a/src/make.inc
+++ b/src/make.inc
@@ -124,7 +124,7 @@ endif
 
 # CXXFLAGS defines the default compilation options for the C++ compiler
 ifndef CXXFLAGS
-  override CXXFLAGS=-O3 -ggdb -pg -coverage -I$(HDF5_INCLUDE) $(MPI_CXXFLAGS) $(NVTX_CXXFLAGS)
+  override CXXFLAGS=-O3 -ggdb -pg -coverage -Wno-format-contains-nul -I$(HDF5_INCLUDE) $(MPI_CXXFLAGS) $(NVTX_CXXFLAGS)
   ifdef USE_OPENMP
     override CXXFLAGS+= -fopenmp
 # closes USE_OPENMP