@ -20,8 +20,8 @@ CFLAGS += -Wredundant-decls -pedantic
CFLAGS += -D_XOPEN_SOURCE
CFLAGS += -std=c99
CFLAGS += -Os -flto
LDFLAGS += -Os -flto
CFLAGS += -Os
LDFLAGS += -Os
TEST_LIBS += -lcmocka
@ -2,9 +2,6 @@ PREFIX ?= arm-none-eabi-
LDSCRIPT = support/stm32vl-discovery.ld
CFLAGS += -fno-common --function-sections -fdata-sections
LDFLAGS += -static -nostartfiles
LDFLAGS += -Wl,--gc-sections