Browse Source

Improved gcc for x86-64 to include the appropriate patch for multilib or pure64

karasz/new-early
Christian Wiese 17 years ago
parent
commit
c766a93a55
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      architecture/x86-64/pkg_gcc_post.conf

+ 8
- 1
architecture/x86-64/pkg_gcc_post.conf

@ -27,4 +27,11 @@ gcc_amd64_postmake() {
do ln -fvs ../../lib/$x $x ; done
}
hook_add postmake 5 "gcc_amd64_postmake"
if [ "$SDECFG_MULTILIB" = 1 ]; then
var_append patchfiles ' ' "$confdir/$pkg-$ver*multilib*.diff"
hook_add postmake 5 "gcc_amd64_postmake"
else
var_append patchfiles ' ' "$confdir/$pkg-$ver*pure64*.diff"
fi

Loading…
Cancel
Save