aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/string
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-12-30 14:26:52 -0500
committerMike Frysinger <vapier@gentoo.org>2022-01-05 20:29:53 -0500
commited20821a4060b28d375b39abd6f6ee33a0b83b81 (patch)
tree4c11a421511e1fb29f985ac5c0ebe7d35ce74e87 /newlib/libc/string
parent8e71066cb27141dccdf4f09639bfb5f2fb3231d6 (diff)
downloadnewlib-ed20821a4060b28d375b39abd6f6ee33a0b83b81.zip
newlib-ed20821a4060b28d375b39abd6f6ee33a0b83b81.tar.gz
newlib-ed20821a4060b28d375b39abd6f6ee33a0b83b81.tar.bz2
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/string')
-rw-r--r--newlib/libc/string/Makefile.am2
-rw-r--r--newlib/libc/string/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/string/Makefile.am b/newlib/libc/string/Makefile.am
index 78d7c49..7eb9fcd 100644
--- a/newlib/libc/string/Makefile.am
+++ b/newlib/libc/string/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 = \
bcopy.c \
diff --git a/newlib/libc/string/Makefile.in b/newlib/libc/string/Makefile.in
index f6e8722..4bf8bec 100644
--- a/newlib/libc/string/Makefile.in
+++ b/newlib/libc/string/Makefile.in
@@ -372,7 +372,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 = \
bcopy.c \
bzero.c \