make V=1 no longer spews linker garbage collection

make V=99 will, if you realllly want it.
This commit is contained in:
Karl Palsson
2014-04-04 22:31:32 +00:00
parent 6960d2adef
commit 05d46ab6cd
2 changed files with 9 additions and 1 deletions

View File

@@ -105,7 +105,7 @@ LDFLAGS += -L$(LIB_DIR)
LDFLAGS += -T$(LDSCRIPT)
LDFLAGS += -Wl,-Map=$(*).map
LDFLAGS += -Wl,--gc-sections
ifeq ($(V),1)
ifeq ($(V),99)
LDFLAGS += -Wl,--print-gc-sections
endif