Make compile-time BUFFERSIZE setting actually reach the compiler/preprocessor
@@ -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
