From 8b7917f05b653fa423f1b97e02147b2053227632 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 10 Jul 2016 10:05:56 -0700 Subject: 3107 - just always support small VPS servers In experiments on my laptop it seems to compile a little faster and run slightly slower. Both might be in the noise. --- makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/makefile b/makefile index 626537d4..7c2c7542 100644 --- a/makefile +++ b/makefile @@ -2,6 +2,8 @@ all: mu_bin core.mu CXX ?= c++ CFLAGS ?= -g -O3 +# reduce memory usage for small servers +CFLAGS := ${CFLAGS} --param ggc-min-expand=1 --param ggc-min-heapsize=32768 mu_bin: makefile mu.cc termbox/libtermbox.a ${CXX} ${CFLAGS} -Wall -Wextra -ftrapv -fno-strict-aliasing mu.cc termbox/libtermbox.a -o mu_bin -- cgit 1.4.1-2-gfad0