7 --with-sysroot
=$(TOOLCHAIN_DIR
) \
13 $(CP
) $(BUILD_DIR_TOOLCHAIN
)/linux-dev
/* $(BUILD_DIR_TOOLCHAIN
)/$(LIBC
)-dev
/
14 $(GCC_MAKE
) -C
$(GCC_BUILD_DIR
) \
17 $(if
$(GCC_BUILD_TARGET_LIBGCC
),all-target-libgcc
)
21 $(GCC_MAKE
) -C
$(GCC_BUILD_DIR
) \
23 $(if
$(GCC_BUILD_TARGET_LIBGCC
),install-target-libgcc
)
25 # XXX: glibc insists on linking against libgcc_eh
26 ( cd
$(TOOLCHAIN_DIR
)/lib
/gcc
/$(REAL_GNU_TARGET_NAME
)/$(PKG_VERSION
) ; \
27 [ -e libgcc_eh.a
] || ln
-sf libgcc.a libgcc_eh.a
; \
28 cp libgcc.a libgcc_initial.a
; \
32 $(eval
$(call HostBuild
))