Merge "romlib: Improve compilation flags definition" into integration

This commit is contained in:
Sandrine Bailleux 2019-05-21 12:33:18 +00:00 committed by TrustedFirmware Code Review
commit 62a72942d1
1 changed files with 2 additions and 2 deletions

View File

@ -24,9 +24,9 @@ else
Q :=
endif
LDFLAGS := --gc-sections -O1
ifeq ($(DEBUG),1)
CFLAGS := -g
LDFLAGS := -g --gc-sections -O1 -Map=$(MAPFILE)
LDFLAGS += -Map=$(MAPFILE)
endif