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 <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2016-06-13 18:35:02 -04:00 committed by Anas Nashif
commit 1aaa11b213

View file

@ -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)