]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
guile: Compile with `-fgnu89-inline'.
authorLudovic Courtès <ludo@gnu.org>
Wed, 19 Mar 2008 15:50:20 +0000 (16:50 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 19 Mar 2008 15:50:20 +0000 (16:50 +0100)
* guile/src/Makefile.am (AM_CFLAGS): Add `-fgnu89-inline' when
  `HAVE_GCC' is true.  This works around the fact that GnuTLS is
  compiled with `-std=c99', while Guile and GMP expect GNU inline
  semantics, which defer from C99 inline semantics.

guile/src/Makefile.am

index c3b6d8a806ba18c70bba7ddc1ea1f93e40363d39..f50b5c233d6ceb2c73e8ba7f054ff7310bba37e0 100644 (file)
@@ -68,6 +68,9 @@ if HAVE_GCC
 # after `-Ws-p'.
 AM_CFLAGS += -Wno-strict-prototypes
 
+# Guile and GMP currently rely on GNU inline semantics, not C99 inline.
+AM_CFLAGS += -fgnu89-inline
+
 endif
 
 enums.h: $(srcdir)/make-enum-header.scm