diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 2 |
1 files changed, 2 insertions, 0 deletions
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 |