Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-06-05 17:32:09 -0400
committerDan McGee <dan@archlinux.org>2007-06-05 17:32:09 -0400
commitd8e88aa0175fd950d007578ea0690952f49247f1 (patch)
tree8c534688fb269d143bf46b19d1e7cb38ec983e21
parent26e3db423abeb4cb5704f89dc0fc50a767f19b47 (diff)
Fix compilation with GCC 4.2.0
'inline' keyword in C99 is not correctly recognized, so compilation fails on the warning it spits. This fixes this. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--lib/libalpm/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/Makefile.am b/lib/libalpm/Makefile.am
index 2fb781eb..29a2f02d 100644
--- a/lib/libalpm/Makefile.am
+++ b/lib/libalpm/Makefile.am
@@ -12,7 +12,7 @@ include_HEADERS = alpm_list.h alpm.h
DEFS = -DLOCALEDIR=\"@localedir@\" @DEFS@
-AM_CFLAGS = -fvisibility=hidden -pedantic -D_GNU_SOURCE
+AM_CFLAGS = -fvisibility=hidden -pedantic -D_GNU_SOURCE -fgnu89-inline
EXTRA_DIST = Doxyfile