]> git.pond.sub.org Git - empserver/commitdiff
(CFLAGS): Recent versions of gcc have a built-in function carg(),
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 21 Jan 2006 08:06:17 +0000 (08:06 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 21 Jan 2006 08:06:17 +0000 (08:06 +0000)
which collides with our carg().  Suppress.

Make.mk

diff --git a/Make.mk b/Make.mk
index 320d918ca4e4f12e6888be2fcfd230a3c94153bc..5ba53de36dea15750e5144cd43434b545fdfe0d7 100644 (file)
--- a/Make.mk
+++ b/Make.mk
@@ -125,6 +125,7 @@ bld_distgen := $(mk)
 # Compiler flags
 CPPFLAGS += -I$(srcdir)/include -I.
 ifeq ($(have_gcc),yes)
+CFLAGS += -fno-builtin-carg    # conflicts with our carg()
 CFLAGS += -fno-common
 CFLAGS += -Wall -W -Wno-unused -Wpointer-arith -Wstrict-prototypes     \
 -Wmissing-prototypes -Wnested-externs -Wredundant-decls