comparison lib/argp-standalone/patch-gnu89-inline.patch @ 618:a9b53729d91b

lib/argp-standalone: build shared library (thanks to FreeBSD)
author David Demelier <markand@malikania.fr>
date Tue, 23 Jul 2019 20:20:00 +0200
parents lib/argp-standalone/gnu89-inline.patch@140a5a5253f9
children
comparison
equal deleted inserted replaced
617:996230e6b946 618:a9b53729d91b
1 diff --git a/configure.ac b/configure.ac
2 index 4658839..09f0267 100644
3 --- a/configure.ac
4 +++ b/configure.ac
5 @@ -79,16 +79,10 @@ AC_CHECK_DECLS([program_invocation_name, program_invocation_short_name],
6
7 # Set these flags *last*, or else the test programs won't compile
8 if test x$GCC = xyes ; then
9 - # Using -ggdb3 makes (some versions of) Redhat's gcc-2.96 dump core
10 - if "$CC" --version | grep '^2\.96$' 1>/dev/null 2>&1; then
11 - true
12 - else
13 - CFLAGS="$CFLAGS -ggdb3"
14 - fi
15 CFLAGS="$CFLAGS -Wall -W \
16 -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes \
17 -Waggregate-return \
18 - -Wpointer-arith -Wbad-function-cast -Wnested-externs"
19 + -Wpointer-arith -Wbad-function-cast -Wnested-externs -fgnu89-inline"
20 fi
21
22 CPPFLAGS="$CPPFLAGS -I$srcdir"