diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2015-11-13 05:50:08 (GMT) |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2015-11-13 05:50:08 (GMT) |
commit | 4c9218d51dc3c6c84a8d5c488f234ed7575107c6 (patch) | |
tree | d4b007f509a5376b8a56939bc33ef05ca29f9dc1 /scripts/build/cc/100-gcc.sh | |
parent | b9902e788d5e401078af872ab628015da8e8cd44 (diff) | |
parent | 69405c3b32fba0fe789d7919e0e3b0c60c6195cf (diff) |
Merge pull request #245 from villytiger/install-strip
Use install-strip target for gcc optionally
Diffstat (limited to 'scripts/build/cc/100-gcc.sh')
-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 28dda1d..6515f96 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 |