config/libc/none.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Feb 21 23:39:46 2011 +0100 (2011-02-21)
changeset 2312 8b9938edd3d8
child 2444 896cb0d36c1a
permissions -rw-r--r--
libc/glibc: add fortify option

By default, recent versions of glibc and eglibc will build some
functions that take format strings (eg. printf, syslog...) with
run-time checks against some format string attacks. This is
called a fortified build.

Unfortunately, this fails somehow while building the instrumented
version of syslog, with some kind of circular dependency...

Disable fortified builds by default, and hide the enabling option
behind EXPERIMENTAL for daring users...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 # Dummy config file to not use a C library *at all*
     2 # depends on BARE_METAL
     3 
     4 config LIBC_none
     5     help
     6       Do not use a C library.
     7       
     8       This is usefull if your project is self-contained, does not rely on
     9       an external C library, and provides all the necessary bits.
    10       
    11       Most probably usefull to bootloaders, as they generally don't depend
    12       on the C library.
    13       
    14       If unsure: do *not* choose that, and use another option in the choice.