diff --git a/plat/rockchip/rk3399/drivers/m0/Makefile b/plat/rockchip/rk3399/drivers/m0/Makefile index b8e3cd410b343da17b3a4c00ae194cc0ee69fdad..c9454fe65e88143fc6b7584aa91b0458f353d50d 100644 --- a/plat/rockchip/rk3399/drivers/m0/Makefile +++ b/plat/rockchip/rk3399/drivers/m0/Makefile @@ -59,7 +59,7 @@ ASFLAGS := -g -Wa,--gdwarf-2 ASFLAGS += -mcpu=$(ARCH) -mthumb -Wall -ffunction-sections -O3 CFLAGS += -mcpu=$(ARCH) -mthumb -Wall -ffunction-sections -O3 -LDFLAGS := -mcpu=$(ARCH) -mthumb -g -nostartfiles -O3 +LDFLAGS := -mcpu=$(ARCH) -mthumb -g -nostartfiles -nostdlib -O3 LDFLAGS += -Wl,--gc-sections -Wl,--build-id=none # Cross tool