From ab7fe095f4ad22cb58cf03637a635bd71f44d05b Mon Sep 17 00:00:00 2001 From: skarg Date: Wed, 2 Jan 2008 14:28:31 +0000 Subject: [PATCH] Added comment for reducing code size. --- bacnet-stack/ports/atmega168/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/bacnet-stack/ports/atmega168/Makefile b/bacnet-stack/ports/atmega168/Makefile index 6030aab3..0e69b62f 100644 --- a/bacnet-stack/ports/atmega168/Makefile +++ b/bacnet-stack/ports/atmega168/Makefile @@ -107,6 +107,7 @@ ASMFLAGS += -x assembler-with-cpp -Wa,-gdwarf2 ## Linker flags LDFLAGS = $(COMMON) #dead code removal +#LDFLAGS += -Wl,-nostartfiles,-nostdlib LDFLAGS += -Wl,--gc-sections,-static LDFLAGS += -Wl,-Map=$(TARGET).map,-L=.,-l$(TARGET) #LDFLAGS += -Wl,-Map=$(TARGET).map