We can implement this in bertos/rules.mk since we already use different
build options when debug mode is enabled or not.
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3645
38d2e660-2303-0410-9eaa-
f027e97ec537
$(1)_CFLAGS += -D_DEBUG
$(1)_CXXFLAGS += -D_DEBUG
$(1)_CFLAGS += -D_DEBUG
$(1)_CXXFLAGS += -D_DEBUG
+else
+ $(1)_CFLAGS += -fomit-frame-pointer
+ $(1)_CXXFLAGS += -fomit-frame-pointer
endif
$(1)_COBJ = $$(foreach file,$$($(1)_CSRC:%.c=%.o),$$(OBJDIR)/$(1)/$$(file))
endif
$(1)_COBJ = $$(foreach file,$$($(1)_CSRC:%.c=%.o),$$(OBJDIR)/$(1)/$$(file))