Ensure that the same (large) BUFFERSIZE is used for all cpus in DYNAMIC_ARCH builds
@@ -849,6 +849,10 @@ Lmcount$lazy_ptr:
#else
#define BUFFER_SIZE ( 16 << 20)
#endif
+#ifeq ($(DYNAMIC_ARCH), 1)
+#undefine BUFFER_SIZE
+#define BUFFER_SIZE (64 << 22)
+#endif
#ifndef PAGESIZE
#define PAGESIZE ( 4 << 10)
