pc hosted: Don't try to report memory usage.
When building on a pc gcc does not have that parameter and clang fails with an error. This caused a build regression on Mac.
This commit is contained in:
parent
a0c77e216d
commit
b59ca5142a
|
@ -61,11 +61,14 @@ SRC = \
|
|||
stm32g0.c \
|
||||
target.c \
|
||||
|
||||
# Output memory usage information
|
||||
LDFLAGS += -Wl,--print-memory-usage
|
||||
|
||||
include $(PLATFORM_DIR)/Makefile.inc
|
||||
|
||||
ifneq ($(PC_HOSTED),1)
|
||||
# Output memory usage information
|
||||
LDFLAGS += -Wl,--print-memory-usage
|
||||
endif
|
||||
|
||||
OPT_FLAGS ?= -Os
|
||||
CFLAGS += $(OPT_FLAGS)
|
||||
LDFLAGS += $(OPT_FLAGS)
|
||||
|
|
Loading…
Reference in New Issue