|
@@ -23,6 +23,7 @@ $(eval $(call PKG_template,GLIBC_DEV,glibc-dev,$(PKG_VERSION)-${PKG_RELEASE},${P
|
|
|
|
|
|
TARGET_CFLAGS:= $(filter-out -fstack-protector,$(TARGET_CFLAGS))
|
|
|
TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
|
|
|
+XAKE_FLAGS+= GCC_HONOUR_COPTS=s
|
|
|
|
|
|
CONFIG_STYLE:= manual
|
|
|
BUILD_STYLE:= manual
|
|
@@ -30,23 +31,7 @@ INSTALL_STYLE:= manual
|
|
|
|
|
|
# compile nothing, glibc is already build in toolchain directory
|
|
|
do-install:
|
|
|
- ${INSTALL_DIR} $(IDIR_GLIBC)/lib $(IDIR_GLIBC)/etc
|
|
|
- #cd ${STAGING_TARGET_DIR} && for f in UTC ${ADK_RUNTIME_TIMEZONE}; do \
|
|
|
- # test -s usr/share/zoneinfo/"$$f" || continue; \
|
|
|
- # echo usr/share/zoneinfo/"$$f" | \
|
|
|
- # ${TOOLS_DIR}/cpio -pdu ${IDIR_GLIBC}/; \
|
|
|
- #done
|
|
|
- #tz=; cd ${IDIR_GLIBC}/usr/share/zoneinfo || exit 1; \
|
|
|
- # for f in UTC ${ADK_RUNTIME_TIMEZONE}; do \
|
|
|
- # test -s "$$f" || continue; \
|
|
|
- # tz=$$f; \
|
|
|
- #done; if test x"$$tz" = x""; then \
|
|
|
- # echo >&2 Error during timezone installation; \
|
|
|
- # exit 1; \
|
|
|
- #else \
|
|
|
- # ln -sf "../usr/share/zoneinfo/$$tz" \
|
|
|
- # ${IDIR_GLIBC}/etc/localtime; \
|
|
|
- #fi
|
|
|
+ ${INSTALL_DIR} ${IDIR_GLIBC}/lib ${IDIR_GLIBC}/etc
|
|
|
${CP} ${STAGING_TARGET_DIR}/etc/gai.conf ${IDIR_GLIBC}/etc
|
|
|
${CP} ${STAGING_TARGET_DIR}/etc/nscd.conf ${IDIR_GLIBC}/etc
|
|
|
${CP} ${STAGING_TARGET_DIR}/etc/nsswitch.conf ${IDIR_GLIBC}/etc
|
|
@@ -76,6 +61,7 @@ glibc-dev-install:
|
|
|
headers_install
|
|
|
(cd $(WRKBUILD); \
|
|
|
$(GLIBC_ENV) \
|
|
|
+ GCC_HONOUR_COPTS=s \
|
|
|
$(TOOLCHAIN_BUILD_DIR)/w-$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)/$(PKG_NAME)-$(PKG_VERSION)/configure \
|
|
|
--prefix=$(IDIR_GLIBC_DEV)/usr \
|
|
|
--with-sysroot=$(IDIR_GLIBC_DEV) \
|