From e2910fba99a0f19db91cabce1e43ce77dc10e662 Mon Sep 17 00:00:00 2001 From: whitequark Date: Tue, 19 Jan 2016 01:52:57 +0000 Subject: [PATCH] runtime: define NDEBUG to disable debug mode of __artiq_personality. There shouldn't be any bugs left and all the printing it does slows exception handling considerably. --- artiq/runtime/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/artiq/runtime/Makefile b/artiq/runtime/Makefile index 73c6f110e..6c13b631b 100644 --- a/artiq/runtime/Makefile +++ b/artiq/runtime/Makefile @@ -15,7 +15,8 @@ CFLAGS += -I$(LIBALLOC_DIRECTORY) \ -I$(LIBUNWIND_DIRECTORY) \ -I$(LIBUNWIND_DIRECTORY)/../unwinder/include \ -I$(LIBLWIP_DIRECTORY)/../lwip/src/include \ - -I$(LIBLWIP_DIRECTORY) + -I$(LIBLWIP_DIRECTORY) \ + -DNDEBUG all: runtime.bin runtime.fbi