mirror of https://github.com/YosysHQ/yosys.git
Added EMCCFLAGS
This commit is contained in:
parent
d58c3eca3a
commit
2f0edff019
8
Makefile
8
Makefile
|
@ -97,6 +97,14 @@ else ifeq ($(CONFIG),emcc)
|
||||||
CXX = emcc
|
CXX = emcc
|
||||||
CXXFLAGS += -std=c++11 -Os -Wno-warn-absolute-paths
|
CXXFLAGS += -std=c++11 -Os -Wno-warn-absolute-paths
|
||||||
CXXFLAGS := $(filter-out -ggdb,$(CXXFLAGS))
|
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
|
EXE = .html
|
||||||
|
|
||||||
else ifeq ($(CONFIG),mxe)
|
else ifeq ($(CONFIG),mxe)
|
||||||
|
|
Loading…
Reference in New Issue