summaryrefslogtreecommitdiff
path: root/argp-standalone/patches/002-gnu89-inline.patch
blob: 71978eba5850486bf4875c3a04ac5bfdcf6a9a8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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"