From 13449b67f101e5f9e2025fbe0e0c5596fe1c3604 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Thu, 14 Feb 2008 03:48:01 +0200 Subject: [PATCH] Changed glibc to call its 'general' postmake function just while building the default ABI --- base/glibc/glibc.conf | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/base/glibc/glibc.conf b/base/glibc/glibc.conf index e481f71bd..84b8b9efc 100644 --- a/base/glibc/glibc.conf +++ b/base/glibc/glibc.conf @@ -78,6 +78,11 @@ pkg_glibc_abi_preconf() { # filter out some unwanted header files var_append INSTALL_WRAPPER_FILTER "|" \ "sed -e 's,.*usr/include/.*\.h,/tmp/removed.h,'" + else + # only run postmake while building the default ABI + if atstage native; then + hook_add postmake 5 'pkg_glibc_postmake' + fi fi } @@ -179,7 +184,7 @@ glibc_prepatch() { done } -glibc_postmake() +pkg_glibc_postmake() { if atstage toolchain; then cp -v ../include/features.h $root$includedir @@ -302,7 +307,6 @@ fi #fi hook_add prepatch 3 "glibc_prepatch" -hook_add postmake 5 "glibc_postmake" # workaround for failing builds when building for i686 cpu family case $arch_machine in