From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Question about Compilation Flags
Date: Sat, 12 Nov 2016 10:21:42 +0100 [thread overview]
Message-ID: <20161112102142.5fba57e8@free-electrons.com> (raw)
In-Reply-To: <CAHBw83d+5FzcxpBxmeDM=-uUyMyXLw8pDeywoYrF91pV8wR7ag@mail.gmail.com>
Hello,
On Sat, 12 Nov 2016 13:06:11 +0530, Anand Sivaram wrote:
> Thank you very much for the reply. I think BR2_TARGET_OPTIMIZATION and
> BR2_TARGET_LDFLAGS are
> better solutions than what I did in config/Makefile.in
>
> I will try lighttpd.mk changes as you suggested.
>
> These are the numbers I found without changing lighttpd in a special way.
>
> du -ks output/target/ (default buildroot for mips without
> function/data/gc-section)
> 26188 output/target/
> du -ks output/target/ (with function/data/gc-sections)
> 25012 output/target/
>
> That gives a saving of 1176 KB then.
That's not bad indeed, about 4.4% space saving.
Thanks for the feedback!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2016-11-12 9:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-11 9:19 [Buildroot] Question about Compilation Flags Anand Sivaram
2016-11-11 14:03 ` Thomas Petazzoni
2016-11-12 7:36 ` Anand Sivaram
2016-11-12 9:21 ` Thomas Petazzoni [this message]
2016-11-12 9:54 ` Anand Sivaram
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161112102142.5fba57e8@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox