diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2015-11-12 21:50:08 -0800 |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2015-11-12 21:50:08 -0800 |
commit | 4c9218d51dc3c6c84a8d5c488f234ed7575107c6 (patch) | |
tree | d4b007f509a5376b8a56939bc33ef05ca29f9dc1 /config | |
parent | b9902e788d5e401078af872ab628015da8e8cd44 (diff) | |
parent | 69405c3b32fba0fe789d7919e0e3b0c60c6195cf (diff) | |
download | crosstool-ng-4c9218d51dc3c6c84a8d5c488f234ed7575107c6.tar.gz crosstool-ng-4c9218d51dc3c6c84a8d5c488f234ed7575107c6.tar.bz2 crosstool-ng-4c9218d51dc3c6c84a8d5c488f234ed7575107c6.zip |
Merge pull request #245 from villytiger/install-strip
Use install-strip target for gcc optionally
Diffstat (limited to 'config')
-rw-r--r-- | config/global/paths.in | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/config/global/paths.in b/config/global/paths.in index 3e19332e..f3059b9c 100644 --- a/config/global/paths.in +++ b/config/global/paths.in @@ -117,12 +117,22 @@ config INSTALL_DIR_RO Useful for toolchains destined for production. -config STRIP_ALL_TOOLCHAIN_EXECUTABLES +config STRIP_HOST_TOOLCHAIN_EXECUTABLES bool - prompt "Strip all toolchain executables" + prompt "Strip host toolchain executables" default y help All build host executables contain a lot of unnecessary info. - By stripping all executables it slightly speeds up the compilation + By stripping host executables it slightly speeds up the compilation of large projects. NOTE: It does NOT strip the target libraries, only HOST executables + +config STRIP_TARGET_TOOLCHAIN_EXECUTABLES + bool + prompt "Strip target toolchain executables" + depends on CC_GCC_4_6_or_later + help + It means using install-strip target for GCC 4.6 or later. + An install-strip make target is provided that installs stripped + executables, and may install libraries with unneeded or debugging + sections stripped. |