Mercurial > vanilla
view lib/argp-standalone/gnu89-inline.patch @ 586:1218a8f753b6
core/busybox: let's re-add /etc/inittab support
While busybox has weird /etc/inittab support the predefined actions without it
are too minimalistic so re-add the support for it but don't install an
/etc/inittab file.
The file /etc/inittab file is still installed with sysvinit but if someone wants
to use busybox's init it should create its own /etc/inittab file with the
busybox syntax and do not install sysvinit afterwards.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 08 Jul 2019 20:35:00 +0200 |
parents | 140a5a5253f9 |
children |
line wrap: on
line source
diff --git a/configure.ac b/configure.ac index 4658839..09f0267 100644 --- a/configure.ac +++ b/configure.ac @@ -79,16 +79,10 @@ AC_CHECK_DECLS([program_invocation_name, program_invocation_short_name], # Set these flags *last*, or else the test programs won't compile if test x$GCC = xyes ; then - # Using -ggdb3 makes (some versions of) Redhat's gcc-2.96 dump core - if "$CC" --version | grep '^2\.96$' 1>/dev/null 2>&1; then - true - else - CFLAGS="$CFLAGS -ggdb3" - fi CFLAGS="$CFLAGS -Wall -W \ -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes \ -Waggregate-return \ - -Wpointer-arith -Wbad-function-cast -Wnested-externs" + -Wpointer-arith -Wbad-function-cast -Wnested-externs -fgnu89-inline" fi CPPFLAGS="$CPPFLAGS -I$srcdir"