diff options
Diffstat (limited to 'package/glibc')
-rw-r--r-- | package/glibc/Makefile | 5 | ||||
-rw-r--r-- | package/glibc/files/nsswitch.conf | 20 |
2 files changed, 22 insertions, 3 deletions
diff --git a/package/glibc/Makefile b/package/glibc/Makefile index 675ee0c8d..7f0a1f8c7 100644 --- a/package/glibc/Makefile +++ b/package/glibc/Makefile @@ -22,8 +22,6 @@ $(eval $(call PKG_template,GLIBC,glibc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPEN $(eval $(call PKG_template,GLIBC_DEV,glibc-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) $(eval $(call PKG_template,GLIBC_STATIC,$(PKG_NAME)-static,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) -#TARGET_CFLAGS:= $(filter-out -fstack-protector,$(TARGET_CFLAGS)) -#TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS)) XAKE_FLAGS+= GCC_HONOUR_COPTS=s CONFIG_STYLE:= manual @@ -55,7 +53,8 @@ ifeq ($(ADK_LOCALES),y) endif endif ${INSTALL_DIR} ${IDIR_GLIBC}/etc - ${INSTALL_DATA} ${STAGING_TARGET_DIR}/etc/{gai,nscd,nsswitch}.conf ${IDIR_GLIBC}/etc + ${INSTALL_DATA} ${STAGING_TARGET_DIR}/etc/gai.conf ${IDIR_GLIBC}/etc + ${INSTALL_DATA} ./files/nsswitch.conf ${IDIR_GLIBC}/etc glibc-static-install: ${INSTALL_DIR} $(IDIR_GLIBC_STATIC)/usr/lib diff --git a/package/glibc/files/nsswitch.conf b/package/glibc/files/nsswitch.conf new file mode 100644 index 000000000..53bb9d3dd --- /dev/null +++ b/package/glibc/files/nsswitch.conf @@ -0,0 +1,20 @@ +# /etc/nsswitch.conf +# +# Example configuration of GNU Name Service Switch functionality. +# + +passwd: files +group: files +initgroups: files +shadow: files +gshadow: files + +hosts: files dns +networks: files dns + +protocols: files +services: files +ethers: files +rpc: files + +netgroup: files |