diff --git a/Common/make/ghdl.mk b/Common/make/ghdl.mk index 4cac921..a73ca10 100644 --- a/Common/make/ghdl.mk +++ b/Common/make/ghdl.mk @@ -18,7 +18,7 @@ analyze: $(BUILD_DIR) $(SRCS) $(GHDL) -a --work=$(NAME) --workdir=$(BUILD_DIR) --time-resolution=$(TS) $(SRCS) anaborate: $(BUILD_DIR) $(SRCS) - $(GHDL_GCC) -c -o $(BUILD_DIR)/$(NAME) --work=$(NAME) --workdir=$(BUILD_DIR) $(SRCS) -e $(ENTITY_RUN) + $(GHDL_GCC) -c -o $(BUILD_DIR)/$(NAME) -Wc,O2 --work=$(NAME) --workdir=$(BUILD_DIR) $(SRCS) -e $(ENTITY_RUN) -$(BUILD_DIR)/$(NAME) $(RUN_OPTS) >$(BUILD_DIR)/$(NAME).log run: analyze