summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanh-arm <dan.handley@arm.com>2017-01-10 11:11:44 +0000
committerGitHub <noreply@github.com>2017-01-10 11:11:44 +0000
commit85dfa594ad99add95e2f1b7d9dc31ad6830b579e (patch)
tree826336997ea57177ff7cf8613ae7c7234c25e6cf
parentcef7b3ce8b26cd94e7e71ddeefc039451525b780 (diff)
parent742df4f614f25d25b97b502dea45eb23a92c04ac (diff)
Merge pull request #802 from pgeorgi/rk3399m0
rockchip: Build m0 firmware without standard libraries
-rw-r--r--plat/rockchip/rk3399/drivers/m0/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/rockchip/rk3399/drivers/m0/Makefile b/plat/rockchip/rk3399/drivers/m0/Makefile
index b8e3cd41..c9454fe6 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