diff options
author | Richard Strand <richard.strand@icomera.com> | 2010-02-01 12:56:28 +0000 |
---|---|---|
committer | Richard Strand <richard.strand@icomera.com> | 2010-02-01 12:56:28 +0000 |
commit | 22fca0106eceb10e1c1666d680be29f978ec8908 (patch) | |
tree | d970b5163f80223667b08b54dff8d8365fb9e5c8 /config/libc/eglibc.in | |
parent | 8d01c33fd10e031bbe29779ff93403180b84971e (diff) | |
download | crosstool-ng-22fca0106eceb10e1c1666d680be29f978ec8908.tar.gz crosstool-ng-22fca0106eceb10e1c1666d680be29f978ec8908.tar.bz2 crosstool-ng-22fca0106eceb10e1c1666d680be29f978ec8908.zip |
libc/eglibc: Add option to optimize for size
Add an option to eglibc to optimize for size using -Os.
Signed-off-by: Richard Strand <richard.strand@icomera.com>
Diffstat (limited to 'config/libc/eglibc.in')
-rw-r--r-- | config/libc/eglibc.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/libc/eglibc.in b/config/libc/eglibc.in index f37ff89c..0dc6848f 100644 --- a/config/libc/eglibc.in +++ b/config/libc/eglibc.in @@ -95,6 +95,13 @@ config EGLIBC_CHECKOUT Note that crosstool-NG will *not* update your working copy, you will have to do that yourself. +config EGLIBC_OPT_SIZE + bool + prompt "optimize eglibc for size (-Os)" + help + Optimize eglibc for size using -Os instead of -O2. This will make eglibc + smaller but may make it slower. + config EGLIBC_CUSTOM_CONFIG bool prompt "Use custom configuration file" |