1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-23 00:45:39 +00:00

build: Don't use $(AM_CFLAGS) anymore. Use $(CPPFLAGS) instead.

$(AM_CFLAGS) is one of the variables set by Automake, which ELinks no
longer uses.  $(CPPFLAGS) should be used whenever the C preprocessor
is run, according to the GNU Coding Standards.  (My build environment
does have an important -I option there.)
This commit is contained in:
Kalle Olavi Niemitalo 2006-07-01 14:43:37 +03:00 committed by Jonas Fonseca
parent b9908b4622
commit 40e257bedd
2 changed files with 2 additions and 2 deletions

View File

@ -170,7 +170,7 @@ LIBS = @LIBS@
INCLUDES = -I$(top_builddir) -I$(top_srcdir)/src
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CFLAGS) $(CFLAGS)
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
MAKE_COLOR = @MAKE_COLOR@

View File

@ -53,7 +53,7 @@ quiet_cmd_ld_objs = " [$(LD_COLOR)LD$(END_COLOR)] $(RELPATH)$@"
cmd_link = $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
quiet_cmd_sparse = ' [SPARSE] $(RELPATH)$(2)'
cmd_sparse = $(SPARSE) $(DEFS) $(INCLUDES) $(AM_CFLAGS) $(CFLAGS) $(SPARSE_FLAGS) $(2)
cmd_sparse = $(SPARSE) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(SPARSE_FLAGS) $(2)
# Recursive make
quiet_cmd_recmake = "[$(INFO_COLOR)MAKE $(3)$(END_COLOR)] $(RELPATH)$(2)"