|
|
@ -51,6 +51,11 @@ if [ $stagelevel -eq 0 ] ; then |
|
|
|
--host=${CLFS_HOST} --target=${CLFS_TARGET} --with-sysroot=$CLFS \ |
|
|
|
--disable-nls" |
|
|
|
fi |
|
|
|
if [ $stagelevel -ge 3 ] ; then |
|
|
|
hook_add postmake 3 "eval $MAKE info install-info" |
|
|
|
hook_add postmake 3 "eval $MAKE -C gas/doc install-man" |
|
|
|
fi |
|
|
|
|
|
|
|
if [ -z "$pkg_binutils_cross" ] ; then |
|
|
|
# This causes build errors with binutils-cross packages. |
|
|
|
var_append extraconfopt " " "--enable-shared" |
|
|
@ -81,6 +86,8 @@ binutils_main() { |
|
|
|
|
|
|
|
eval make $makeinstopt |
|
|
|
|
|
|
|
hook_eval postmake |
|
|
|
|
|
|
|
if [ -z "$pkg_binutils_cross" ] ; then |
|
|
|
cp -v ../binutils-*/include/libiberty.h $root/usr/include/ |
|
|
|
else |
|
|
|