Denis Vlasenko
4b04f543a1
build system: do not rebuild entire tree if it is moved
2008-05-08 16:26:49 +00:00
Denis Vlasenko
68404f13d4
*: add -Wunused-parameter; fix resulting breakage
...
function old new delta
procps_scan 1265 1298 +33
aliascmd 278 283 +5
parse_file_cmd 116 120 +4
dname_enc 373 377 +4
setcmd 90 93 +3
execcmd 57 60 +3
count_lines 72 74 +2
process_command_subs 340 339 -1
test_main 409 407 -2
mknod_main 179 177 -2
handle_incoming_and_exit 2653 2651 -2
argstr 1312 1310 -2
shiftcmd 131 128 -3
exitcmd 46 43 -3
dotcmd 297 294 -3
breakcmd 86 83 -3
evalpipe 353 349 -4
evalcommand 1180 1176 -4
evalcmd 109 105 -4
send_tree 374 369 -5
mkfifo_main 82 77 -5
evalsubshell 152 147 -5
typecmd 75 69 -6
letcmd 61 55 -6
add_cmd 1190 1183 -7
main 891 883 -8
ash_main 1415 1407 -8
parse_stream 1377 1367 -10
alloc_procps_scan 55 - -55
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 7/21 up/down: 54/-148) Total: -94 bytes
text data bss dec hex filename
797195 658 7428 805281 c49a1 busybox_old
797101 658 7428 805187 c4943 busybox_unstripped
2008-03-17 09:00:54 +00:00
Denis Vlasenko
fcfb5c04bb
defconfig: update
...
appletli.c: add vda's (C)
top: fixlet for incorrect display of "0"
Makefile: reduce stack size from 20k to 16k
2007-12-24 12:16:24 +00:00
Denis Vlasenko
9b49a5ed85
add -fvisibility=hidden to CC flags, mark XXX_main functions
...
EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
2007-10-11 10:05:36 +00:00
Denis Vlasenko
8d82cf72c9
add -fpic to CC flags when we build libbusybox (14% smaller .so)
2007-10-11 10:02:52 +00:00
Denis Vlasenko
def8898596
reviving libbusybox, adding CONFIG_INDIVIDUAL part 3
2007-10-07 17:06:01 +00:00
Denis Vlasenko
76a6b236a9
reviving libbusybox, adding CONFIG_INDIVIDUAL part 2
2007-10-07 17:05:42 +00:00
Denis Vlasenko
d6e81c7762
login: optional support for PAM
2007-08-21 10:58:18 +00:00
Denis Vlasenko
150d2fa114
Modify method of linking against libs. Now we fisrt try all
...
specified libs, and if it succeeds, we try to remove them
one-by-one. If link succeeds, then library is thrown out.
Should solve the problem with SELinux linking in libsepol
even when not needed.
2007-07-17 20:39:27 +00:00
Denis Vlasenko
931de892cc
random shrinkage of statics, -60 bytes saved
2007-06-21 12:43:45 +00:00
Bernhard Reutner-Fischer
b7e61485d6
since we removed the deprecated matches() now and thus not alot of warnings are currently seen, let's strive to fixup these:
...
- warn a little bit about unused results
2007-06-21 10:28:11 +00:00
Mike Frysinger
5b5bcf24f5
punt %.bflt target in favor of proper LDFLAGS=-Wl,-elf2flt handling
2007-06-19 15:58:02 +00:00
Denis Vlasenko
e8a0788b24
moved biggest stack buffers to malloc space, or made their size configurable
...
(8k of shell line edit buffer is an overkill)
# make ARCH=i386 bloatcheck
function old new delta
read_line_input 3933 3967 +34
ifaddrlist 348 345 -3
do_loadfont 208 191 -17
edit_file 840 819 -21
.rodata 129112 129080 -32
uncompress 1305 1268 -37
loadfont_main 566 495 -71
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/6 up/down: 34/-181) Total: -147 bytes
2007-06-10 15:08:44 +00:00
Mike Frysinger
c7b10dc037
set default FLTFLAGS for a fatty stack
2007-04-05 21:10:59 +00:00
Mike Frysinger
52a9db6bb8
introduce the concept of LDLIBS for additional libraries so that when we do the final link, the objects/libraries are in the correct order
2007-03-30 05:44:15 +00:00
Bernhard Reutner-Fischer
58a275b303
- reinstate dmalloc and efence support
2007-03-28 15:00:27 +00:00
Denis Vlasenko
d46d3c292e
new applets: selinux utils by KaiGai Kohei <kaigai@kaigai.gr.jp>
2007-02-06 19:28:50 +00:00
Denis Vlasenko
4bb31899e5
add -Wwrite-strings to Makefile
2007-02-01 01:51:36 +00:00
Denis Vlasenko
c562bb7487
disable -Wold-style-definition for gcc 3.x
2007-01-29 17:08:51 +00:00
Denis Vlasenko
9dca07d949
make it possible to build bbox without warnings again.
2007-01-27 14:03:15 +00:00
Denis Vlasenko
e0eebc1ef3
Make -Werror configurable
2007-01-27 13:44:53 +00:00
Bernhard Reutner-Fischer
82f8788acc
- call cc-option to check if the compiler supports the flags we asked to use
2007-01-23 11:39:13 +00:00
Bernhard Reutner-Fischer
fdcd7c4237
- add more strict prototype checking to catch wrong and broken code (like nested functions)
2007-01-22 17:50:21 +00:00
Bernhard Reutner-Fischer
d6c23aeefb
- guess we need dl too
2007-01-08 16:38:33 +00:00
Bernhard Reutner-Fischer
c1feac6e9f
- set LD to ld
...
- simplify the cmd_busybox__ a bit and pass the LDFLAGS via -Wl down to CC
2007-01-08 16:29:15 +00:00
Bernhard Reutner-Fischer
9729e65706
- honor CONFIG_DEBUG
2006-12-13 17:44:24 +00:00
Bernhard Reutner-Fischer
feea1b972c
- better distinction between CFLAGS and CPPFLAGS.
2006-12-06 21:51:59 +00:00
Denis Vlasenko
bf11e8942d
added gcc flag which is needed for ULLONG_MAX to appear
...
on Tito's box
2006-11-26 22:17:46 +00:00
Denis Vlasenko
a7189f01a4
add -Wundef, fix uncovered bugs
2006-11-17 20:29:00 +00:00
Bernhard Reutner-Fischer
dd2982882b
- remove duplicate flags (-funsigned-char -fno-builtin-strlen)
2006-10-20 12:21:17 +00:00
Denis Vlasenko
1db39b2f51
nmeter: new applet. ~4k
...
Fix build proble on x86_64
2006-10-11 20:59:02 +00:00
Denis Vlasenko
da8f43fd34
build system: fix for non-i386 builds
2006-10-09 19:47:38 +00:00
Denis Vlasenko
7039a66b58
correct largefile support, add comments about it.
2006-10-08 17:54:47 +00:00
Denis Vlasenko
7d219aab70
build system overhaul
2006-10-05 10:17:08 +00:00