diff options
author | Ilya Lyubimov <villytiger@gmail.com> | 2015-11-10 12:59:02 +0300 |
---|---|---|
committer | Ilya Lyubimov <villytiger@gmail.com> | 2015-11-11 12:29:54 +0300 |
commit | 69405c3b32fba0fe789d7919e0e3b0c60c6195cf (patch) | |
tree | cd063552aefd8e597af1df962aad71152d09f144 /scripts/build/cc | |
parent | 319c999f77872cb265004e5db5d30d502bc8a0a4 (diff) | |
download | crosstool-ng-69405c3b32fba0fe789d7919e0e3b0c60c6195cf.tar.gz crosstool-ng-69405c3b32fba0fe789d7919e0e3b0c60c6195cf.tar.bz2 crosstool-ng-69405c3b32fba0fe789d7919e0e3b0c60c6195cf.zip |
Use install-strip target for gcc optionally
Diffstat (limited to 'scripts/build/cc')
-rw-r--r-- | scripts/build/cc/100-gcc.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/build/cc/100-gcc.sh b/scripts/build/cc/100-gcc.sh index 28dda1d5..6515f96c 100644 --- a/scripts/build/cc/100-gcc.sh +++ b/scripts/build/cc/100-gcc.sh @@ -940,7 +940,11 @@ do_gcc_backend() { CT_DoExecLog ALL make ${JOBSFLAGS} all CT_DoLog EXTRA "Installing final gcc compiler" - CT_DoExecLog ALL make ${JOBSFLAGS} install + if [ "${CT_STRIP_TARGET_TOOLCHAIN_EXECUTABLES}" = "y" ]; then + CT_DoExecLog ALL make ${JOBSFLAGS} install-strip + else + CT_DoExecLog ALL make ${JOBSFLAGS} install + fi # Remove the libtool "pseudo-libraries": having them in the installed # tree makes the libtoolized utilities that are built next assume |