From 1aaa11b213982cb793d83523c7c7c1b437b2b5b0 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Mon, 13 Jun 2016 18:35:02 -0400 Subject: [PATCH] libc: change linking order to avoid over-stripping of symbols At the moment libc gets linked, all unused functions get stripped and the libqmsi gets linked but __assert_func is not available. Change-Id: I7fc2f8b9136f858023b3e983575869a2206ba9ce Signed-off-by: Anas Nashif --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 972d28f4a8e..a50b893e955 100644 --- a/Makefile +++ b/Makefile @@ -569,8 +569,8 @@ $(if $(CROSS_COMPILE),, \ endif --include $(srctree)/lib/Makefile -include $(srctree)/ext/Makefile +-include $(srctree)/lib/Makefile ifneq ($(CC),) ifeq ($(shell $(CC) -v 2>&1 | grep -Ec "clang version|icx version"), 1)