1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
AM_CFLAGS += \
@AM_CFLAGS@ \
-Wunused-variable \
-Wwrite-strings \
-Wno-pointer-sign
# Ideally, we should be enabling further flags, but this requires upstream
# changes. Leaving these here for now.
#
# -g -Wall -Wno-long-long -W -Wformat=2 -Wmissing-prototypes \
# -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings \
# -Wshadow -Wpointer-arith -Wno-sign-compare -Wundef \
# -Wbad-function-cast -Winline -Wcast-align \
# -Wdeclaration-after-statement -Wno-pointer-sign \
# -Wno-attributes -Wno-unused-result
AM_CPPFLAGS += \
@AM_CPPFLAGS@ \
-DGOT_LIBEXECDIR="$(libexecdir)" \
-I$(top_srcdir) \
-I$(top_srcdir)/compat \
-I$(top_srcdir)/lib \
-I$(top_srcdir)/include \
-I$(top_srcdir)/template \
-I$(top_srcdir)/gotd \
|