aboutsummaryrefslogtreecommitdiff
path: root/Makefile.flags (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix build breakage with gcc 4.2.1Denys Vlasenko2012-04-201-1/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build system: remove bogus $(1) in last commitDenys Vlasenko2012-03-111-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build system: detect missing crypt and drop it from linkingDenys Vlasenko2012-03-101-7/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build system: fix broken CONFIG_SYSROOT handlingDenys Vlasenko2012-03-081-1/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Add SYSROOT, EXTRA_{LDFLAGS,LDLIBS} config opts; sample Android NDK configRob Walker2012-03-071-0/+15
| | | | | Signed-off-by: Rob Walker <rwalker@rwalker.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Fix link failure on some platforms when PAM is enabledTristan Schmelcher2011-12-051-1/+8
| | | | | Signed-off-by: Tristan Schmelcher <tristan_schmelcher@alumni.uwaterloo.ca> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Android build fixes and alternate (hopefully simpler) defconfig for itDenys Vlasenko2011-09-091-0/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Compile options: default to -O2 when -Os is not availableWolfgang Denk2011-05-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | Recent versions of GCC for PowerPC systems suffer from some compiler bugs which prevent the use of "--enable-target-optspace" in their configuration, which makes the compiler option "-Os" unavailable; for reference see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43810 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48278 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45053 In the result, BusyBox will be compiled without any optimization options, which causes a huge binary (1.8 MiB for default configuration on PPC, built with gcc 54.51 from the Yocto / Poky / OpenEmbedded tool chains). This commit changes behaviour so "-O2" gets used as fallback when "-Os" is not available. This reduces the image size in above test to 1.3 MiB. This is still 10...15% more then what we get with "-Os", but much better than using no optimization at all. Signed-off-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* allow SKIP_STRIP to be set in the envMike Frysinger2010-11-161-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* diff: more compiler compat fixes. no code changesDan Fandrich2010-02-041-0/+1
| | | | | Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* preliminary work for gcc 4.4.0Denys Vlasenko2009-08-221-0/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* the -elf2flt flag can be used w/out -Wl, so drop the requirement so people ↵Mike Frysinger2009-03-121-3/+3
| | | | can use either form
* - add flash_eraseallBernhard Reutner-Fischer2009-02-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the result after converting mtd-utils' flash_eraseall to BB. The functionality given by this patch almost the same except that this one does not support long options. I needed this tool a system which does not have a lot of flash for RFS and merging this into BB as the only way out. [bigeasy@]$ ./scripts/bloat-o-meter bb_wo_fl bb_w_fl function old new delta flash_eraseall_main - 1072 +1072 show_progress - 62 +62 packed_usage 25156 25176 +20 applet_names 1958 1973 +15 applet_main 2352 2360 +8 target_endian - 4 +4 applet_nameofs 588 590 +2 applet_install_loc 147 148 +1 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 5/0 up/down: 1184/0) Total: 1184 bytes [bigeasy@]$ size miscutils/flash_eraseall.o text data bss dec hex filename 1586 4 0 1590 636 miscutils/flash_eraseall.o Signed-off-by: Benedigt Spranger <b.spranger@linutronix.de> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
* - add CONFIG_EXTRA_CFLAGS (thanks to keesj)Bernhard Reutner-Fischer2009-01-221-0/+5
| | | | | | This helps with remembering additional flags like e.g. cpu settings for people who did not configured their compiler to produce code for their cpu per default.
* - reinstate commented out _FORTIFY_SOURCE that was somehow dropped by Denys?Bernhard Reutner-Fischer2008-08-051-1/+2
|
* Reinstate DEBUG_PESSIMIZE (by Christian Ionescu-Idbohrn)Denis Vlasenko2008-06-121-3/+10
|
* Build system: track -Wl,-elf2flt in CFLAGS_busybox too.Denis Vlasenko2008-06-061-2/+7
| | | | | | Document in comments that it generally should be thers, not in LDFLAGS
* remove -fno-jump-tables - after stripping it proved to be worseDenis Vlasenko2008-06-041-4/+0
|
* build system: add PIE build optionDenis Vlasenko2008-06-041-4/+16
|
* more -Wall warning fixes. -Wall is enabled now.Denis Vlasenko2008-05-181-3/+7
|
* Add more -W options to gcc.Denis Vlasenko2008-05-151-14/+3
|
* build system: do not rebuild entire tree if it is movedDenis Vlasenko2008-05-081-1/+1
|
* *: add -Wunused-parameter; fix resulting breakageDenis Vlasenko2008-03-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* defconfig: updateDenis Vlasenko2007-12-241-1/+2
| | | | | | | appletli.c: add vda's (C) top: fixlet for incorrect display of "0" Makefile: reduce stack size from 20k to 16k
* add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko2007-10-111-1/+4
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* add -fpic to CC flags when we build libbusybox (14% smaller .so)Denis Vlasenko2007-10-111-0/+6
|
* reviving libbusybox, adding CONFIG_INDIVIDUAL part 3Denis Vlasenko2007-10-071-1/+2
|
* reviving libbusybox, adding CONFIG_INDIVIDUAL part 2Denis Vlasenko2007-10-071-8/+5
|
* login: optional support for PAMDenis Vlasenko2007-08-211-3/+5
|
* Modify method of linking against libs. Now we fisrt try allDenis Vlasenko2007-07-171-3/+10
| | | | | | | | 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.
* random shrinkage of statics, -60 bytes savedDenis Vlasenko2007-06-211-2/+2
|
* since we removed the deprecated matches() now and thus not alot of warnings ↵Bernhard Reutner-Fischer2007-06-211-0/+3
| | | | | | are currently seen, let's strive to fixup these: - warn a little bit about unused results
* punt %.bflt target in favor of proper LDFLAGS=-Wl,-elf2flt handlingMike Frysinger2007-06-191-1/+8
|
* moved biggest stack buffers to malloc space, or made their size configurableDenis Vlasenko2007-06-101-0/+1
| | | | | | | | | | | | | | | | | (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
* set default FLTFLAGS for a fatty stackMike Frysinger2007-04-051-0/+3
|
* introduce the concept of LDLIBS for additional libraries so that when we do ↵Mike Frysinger2007-03-301-3/+3
| | | | the final link, the objects/libraries are in the correct order
* - reinstate dmalloc and efence supportBernhard Reutner-Fischer2007-03-281-0/+9
|
* new applets: selinux utils by KaiGai Kohei <kaigai@kaigai.gr.jp>Denis Vlasenko2007-02-061-0/+4
|
* add -Wwrite-strings to MakefileDenis Vlasenko2007-02-011-4/+4
|
* disable -Wold-style-definition for gcc 3.xDenis Vlasenko2007-01-291-1/+7
|
* make it possible to build bbox without warnings again.Denis Vlasenko2007-01-271-4/+14
|
* Make -Werror configurableDenis Vlasenko2007-01-271-2/+7
|
* - call cc-option to check if the compiler supports the flags we asked to useBernhard Reutner-Fischer2007-01-231-11/+10
|
* - add more strict prototype checking to catch wrong and broken code (like ↵Bernhard Reutner-Fischer2007-01-221-1/+7
| | | | nested functions)
* - guess we need dl tooBernhard Reutner-Fischer2007-01-081-1/+1
|
* - set LD to ldBernhard Reutner-Fischer2007-01-081-1/+4
| | | | - simplify the cmd_busybox__ a bit and pass the LDFLAGS via -Wl down to CC
* - honor CONFIG_DEBUGBernhard Reutner-Fischer2006-12-131-0/+6
|
* - better distinction between CFLAGS and CPPFLAGS.Bernhard Reutner-Fischer2006-12-061-1/+3
|
* added gcc flag which is needed for ULLONG_MAX to appearDenis Vlasenko2006-11-261-0/+3
| | | | on Tito's box
* add -Wundef, fix uncovered bugsDenis Vlasenko2006-11-171-1/+1
|