Make compile-time BUFFERSIZE setting actually reach the compiler/preprocessor
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Wed, 13 Jan 2021 21:36:04 +0000 (22:36 +0100)
committerGitHub <noreply@github.com>
Wed, 13 Jan 2021 21:36:04 +0000 (22:36 +0100)
Makefile.system

index ca0879f..abc2c3d 100644 (file)
@@ -1279,6 +1279,10 @@ CCOMMON_OPT       += -DUSE_PAPI
 EXTRALIB        += -lpapi -lperfctr
 endif
 
+ifdef BUFFERSIZE
+CCOMMON_OPT     += -DBUFFERSIZE=$(BUFFERSIZE)
+endif
+
 ifdef DYNAMIC_THREADS
 CCOMMON_OPT     += -DDYNAMIC_THREADS
 endif