(CFLAGS): Recent versions of gcc have a built-in function carg(),

which collides with our carg().  Suppress.
This commit is contained in:
Markus Armbruster 2006-01-21 08:06:17 +00:00
parent 0558a08f4d
commit 23726b3799

View file

@ -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