From: Ludovic Courtès Date: Wed, 19 Mar 2008 15:50:20 +0000 (+0100) Subject: guile: Compile with `-fgnu89-inline'. X-Git-Tag: gnutls_2_3_6~5^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0617580c7ee165ec3a5dbe8fb00df316efc3cee9;p=thirdparty%2Fgnutls.git guile: Compile with `-fgnu89-inline'. * 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. --- diff --git a/guile/src/Makefile.am b/guile/src/Makefile.am index c3b6d8a806..f50b5c233d 100644 --- a/guile/src/Makefile.am +++ b/guile/src/Makefile.am @@ -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