From: Clifford Wolf Date: Fri, 13 Feb 2015 11:32:04 +0000 (+0100) Subject: Added EMCCFLAGS X-Git-Tag: yosys-0.6~447 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2f0edff01936a74e44f668f46577e077d69312a7;p=yosys.git Added EMCCFLAGS --- diff --git a/Makefile b/Makefile index 7b4707afe..4b004196d 100644 --- a/Makefile +++ b/Makefile @@ -97,6 +97,14 @@ else ifeq ($(CONFIG),emcc) CXX = emcc CXXFLAGS += -std=c++11 -Os -Wno-warn-absolute-paths CXXFLAGS := $(filter-out -ggdb,$(CXXFLAGS)) +EMCCFLAGS := -s ALLOW_MEMORY_GROWTH=1 +EMCCFLAGS += -s DISABLE_EXCEPTION_CATCHING=0 +# EMCCFLAGS += -s ASSERTIONS=2 +# EMCCFLAGS += -s SAFE_HEAP=1 +# EMCCFLAGS += -s RELOOP=0 +# EMCCFLAGS += -g4 +CXXFLAGS += $(EMCCFLAGS) +LDFLAGS += $(EMCCFLAGS) EXE = .html else ifeq ($(CONFIG),mxe)