(CFLAGS): Recent versions of gcc have a built-in function carg(),
which collides with our carg(). Suppress.
This commit is contained in:
parent
0558a08f4d
commit
23726b3799
1 changed files with 1 additions and 0 deletions
1
Make.mk
1
Make.mk
|
@ -125,6 +125,7 @@ bld_distgen := $(mk)
|
||||||
# Compiler flags
|
# Compiler flags
|
||||||
CPPFLAGS += -I$(srcdir)/include -I.
|
CPPFLAGS += -I$(srcdir)/include -I.
|
||||||
ifeq ($(have_gcc),yes)
|
ifeq ($(have_gcc),yes)
|
||||||
|
CFLAGS += -fno-builtin-carg # conflicts with our carg()
|
||||||
CFLAGS += -fno-common
|
CFLAGS += -fno-common
|
||||||
CFLAGS += -Wall -W -Wno-unused -Wpointer-arith -Wstrict-prototypes \
|
CFLAGS += -Wall -W -Wno-unused -Wpointer-arith -Wstrict-prototypes \
|
||||||
-Wmissing-prototypes -Wnested-externs -Wredundant-decls
|
-Wmissing-prototypes -Wnested-externs -Wredundant-decls
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue