diff --git a/.gitignore b/.gitignore index 4ed3ed8..1f1aa83 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,3 @@ !init.sh /fceux-am /nvboard -/am-kernels diff --git a/nemu/Makefile b/nemu/Makefile index 0f360fe..4c7ed77 100644 --- a/nemu/Makefile +++ b/nemu/Makefile @@ -40,9 +40,7 @@ SRCS-y += $(shell find -L $(DIRS-y) -name "*.c") SRCS = $(filter-out $(SRCS-BLACKLIST-y),$(SRCS-y)) # Extract compiler and options from menuconfig -ifneq ($(CONFIG_CC),) CC = $(call remove_quote,$(CONFIG_CC)) -endif CFLAGS_BUILD += $(call remove_quote,$(CONFIG_CC_OPT)) CFLAGS_BUILD += $(if $(CONFIG_CC_LTO),-flto,) CFLAGS_BUILD += $(if $(CONFIG_CC_DEBUG),-Og -ggdb3,)