Improved discovery Makefiles to throw away unsused symbols and make elf smaller.

This commit is contained in:
t-moe
2015-06-02 16:26:52 +02:00
parent da34bceffa
commit 2521421bb4
4 changed files with 4 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ INCLUDES:=$(addprefix -I,$(INCLUDES))
CPPFLAGS=-DUSE_USB_OTG_FS -DUSE_HOST_MODE $(INCLUDES)
CFLAGS=$(ARCH_FLAGS) -O0 -g -std=c99
CFLAGS=$(ARCH_FLAGS) -O0 -g -std=c99 -fdata-sections -ffunction-sections
LIBS=pixy usbhost coreperiph stdc++