From 22fca0106eceb10e1c1666d680be29f978ec8908 Mon Sep 17 00:00:00 2001 From: Richard Strand Date: Mon, 1 Feb 2010 12:56:28 +0000 Subject: libc/eglibc: Add option to optimize for size Add an option to eglibc to optimize for size using -Os. Signed-off-by: Richard Strand --- config/libc/eglibc.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'config/libc') 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" -- cgit v1.2.3