diff --git a/make/defs.mk b/make/defs.mk index 2f12390b..741b4585 100644 --- a/make/defs.mk +++ b/make/defs.mk @@ -256,7 +256,8 @@ AR ?= ar endif # makefile helpers -FIND_SUBDIRS = $(filter-out . .. ./nomake ./CVS $(addprefix ./,$(IGNORE_SUBDIRS)), $(patsubst %/,%,$(dir $(shell find . -maxdepth 2 -mindepth 2 -iname Makefile)))) +FIND_SUBDIRS = $(filter-out . .. nomake CVS $(IGNORE_SUBDIRS),\ + $(patsubst ./%,%,$(patsubst %/,%,$(dir $(shell find . -maxdepth 2 -mindepth 2 -iname Makefile))))) SUBDIRS_TO_ITERATE = $(filter-out $(IGNORE_SUBDIRS),$(SUBDIRS)) # compiler and linker @@ -273,6 +274,7 @@ ifneq ($(GCC_VERSION),4.1.0) ifneq ($(GCC_VERSION),4.5.1) BUILD_CFLAGS += -std=gnu99 BUILD_CPPFLAGS += -std=c++11 +#BUILD_CPPFLAGS += -Wsuggest-override endif endif