comparison native-compiler.sh @ 1734:fbc625ba4098 draft

Move man directory and delete info directory so lfs-bootstrap setup doesn't conflict with them when native-compiler built with SKIP_STRIP.
author Rob Landley <rob@landley.net>
date Sun, 15 Feb 2015 15:41:39 -0600
parents 42d53a4a29e4
children 50c3a1575288
comparison
equal deleted inserted replaced
1733:4921adb23771 1734:fbc625ba4098
54 build_section bash 54 build_section bash
55 build_section distcc 55 build_section distcc
56 fi 56 fi
57 57
58 # Delete some unneeded files and strip everything else 58 # Delete some unneeded files and strip everything else
59 mv "$STAGE_DIR"/{man,share/man} &&
60 rm -rf "$STAGE_DIR"/{info,libexec/gcc/*/*/install-tools} || dienow
59 if [ -z "$SKIP_STRIP" ] 61 if [ -z "$SKIP_STRIP" ]
60 then 62 then
61 rm -rf "$STAGE_DIR"/{info,man,libexec/gcc/*/*/install-tools}
62 "${ARCH}-strip" --strip-unneeded "$STAGE_DIR"/lib/*.so 63 "${ARCH}-strip" --strip-unneeded "$STAGE_DIR"/lib/*.so
63 "${ARCH}-strip" "$STAGE_DIR"/{bin/*,sbin/*} 64 "${ARCH}-strip" "$STAGE_DIR"/{bin/*,sbin/*}
64 fi 65 fi
65 66
66 67