Browse Source

Fixed glibc for x86-64 while building a mulitlib capable glibc

- After finishing the first buildloop we have to go back to
  toplevel srcdir
- This commit also changes the priority of the preconf hook we
  use while building multilib.

  Warning:
  The change of the priority is very sensitive, so you should
  just change it if you really know what you are doing!
karasz/new-early
Christian Wiese 17 years ago
parent
commit
bd3050454f
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      architecture/x86-64/pkg_glibc_post.conf

+ 7
- 1
architecture/x86-64/pkg_glibc_post.conf

@ -1,4 +1,10 @@
pkg_glibc32_preconf(){
if [ $buildloop -eq 1 ]; then
# after finishing buildloop 1 we have to get back to the
# toplevel source directory
hook_add postmake 9 'cd .. ; pwd'
fi
if [ $buildloop -eq 2 ]; then
echo_status "Building 32 Bit Libraries."
# we need -m32 ... - still needed?
@ -33,5 +39,5 @@ else
buildloops=2
fi
hook_add preconf 9 "pkg_glibc32_preconf"
hook_add preconf 5 "pkg_glibc32_preconf"
fi

Loading…
Cancel
Save