diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-12-30 22:26:52 +0300 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-01-06 04:29:53 +0300 |
commit | ed20821a4060b28d375b39abd6f6ee33a0b83b81 (patch) | |
tree | 4c11a421511e1fb29f985ac5c0ebe7d35ce74e87 /newlib/libc/posix | |
parent | 8e71066cb27141dccdf4f09639bfb5f2fb3231d6 (diff) |
newlib: migrate from INCLUDES to AM_CPPFLAGS
Since automake deprecated the INCLUDES name in favor of AM_CPPFLAGS,
change all existing users over. The generated code is the same since
the two variables have been used in the same exact places by design.
There are other cleanups to be done, but lets focus on just renaming
here so we can upgrade to a newer automake version w/out triggering
new warnings.
Diffstat (limited to 'newlib/libc/posix')
-rw-r--r-- | newlib/libc/posix/Makefile.am | 2 | ||||
-rw-r--r-- | newlib/libc/posix/Makefile.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/posix/Makefile.am b/newlib/libc/posix/Makefile.am index 32356ecde..5fb1fa2af 100644 --- a/newlib/libc/posix/Makefile.am +++ b/newlib/libc/posix/Makefile.am @@ -1,6 +1,6 @@ ## Process this file with automake to generate Makefile.in -INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) +AM_CPPFLAGS = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) GENERAL_SOURCES = \ closedir.c collate.c collcmp.c creat.c dirfd.c \ diff --git a/newlib/libc/posix/Makefile.in b/newlib/libc/posix/Makefile.in index 8bbfe5224..962b8c121 100644 --- a/newlib/libc/posix/Makefile.in +++ b/newlib/libc/posix/Makefile.in @@ -309,7 +309,7 @@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) +AM_CPPFLAGS = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) GENERAL_SOURCES = \ closedir.c collate.c collcmp.c creat.c dirfd.c \ fnmatch.c glob.c _isatty.c isatty.c \ |