Stefan Fröberg
unread,Jun 1, 2012, 10:42:28 AM6/1/12You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dev-apps...@lists.mozilla.org
Hello!
I would like to try ro passing the following environment variables to
Firefox configure and see if it builds.
CFLAGS="-Os -pipe -funit-at-a-time -D_FORTIFY_SOURCE=2
-fstack-protector-all"
CFXXFLAGS="${CFLAGS} -finline-visibility-hidden "
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,now -Wl,--hash-style=gnu"
What is the proper way of doing this?
My goal is to try to build as small (and safe) Firefox binary as
possible but still being fast enough for general x86 machines on Linux
platform.
Also:
I have this in .mozconfig
ac_add_options --enable-optimize
Should I leave it that way or change it into --enable-optimize=-Os to
make sure that everything in Firefox is as small as possible ?
What about that --enable-mobile-optimize configure switch ?
Does it have any use on desktop or is it usefull for smartphones only ?
Best regards:
Stefan Fröberg