This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
# HG changeset patch # User Bryan Hundven <bryanhundven@gmail.com> # Date 1291712199 28800 # Node ID dc2f540c5d73a19867e188b28d36c4da40438864 # Parent 8f7cc140fe23d204d2d1915fb3f496f4eef9a7c6 cc/gcc: use new install-strip target on the final toolchain if binary stripping and CC_GCC_4_6_or_later diff -r 8f7cc140fe23 -r dc2f540c5d73 scripts/build/cc/gcc.sh --- a/scripts/build/cc/gcc.sh Tue Dec 07 00:56:34 2010 -0800 +++ b/scripts/build/cc/gcc.sh Tue Dec 07 00:56:39 2010 -0800 @@ -467,7 +467,15 @@ CT_DoExecLog ALL make ${PARALLELMFLAGS} all CT_DoLog EXTRA "Installing final compiler" - CT_DoExecLog ALL make install + if [ "${CT_STRIP_ALL_TOOLCHAIN_EXECUTABLES}" = "y" -a "${CT_CC_GCC_4_6_or_later}" = "y" ]; then + # From gcc 4.6 changes.html: + # An install-strip make target is provided that installs stripped + # executables, and may install libraries with unneeded or debugging + # sections stripped. + CT_DoExecLog ALL make install-strip + else + CT_DoExecLog ALL make install + fi # Create a symlink ${CT_TARGET}-cc to ${CT_TARGET}-gcc to always be able # to call the C compiler with the same, somewhat canonical name. -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |