summaryrefslogtreecommitdiff
path: root/guile/src
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2008-03-19 16:50:20 +0100
committerLudovic Courtès <ludo@gnu.org>2008-03-19 16:50:20 +0100
commit0617580c7ee165ec3a5dbe8fb00df316efc3cee9 (patch)
tree96a6b0dbdafae3b1cc1354065c81153b0881d152 /guile/src
parenta795ac92df35e5bf43ad53e422b2435b457ffdca (diff)
downloadgnutls-0617580c7ee165ec3a5dbe8fb00df316efc3cee9.tar.gz
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.
Diffstat (limited to 'guile/src')
-rw-r--r--guile/src/Makefile.am3
1 files changed, 3 insertions, 0 deletions
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