aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/machine/nvptx
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/machine/nvptx
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/machine/nvptx')
-rw-r--r--newlib/libc/machine/nvptx/Makefile.am4
-rw-r--r--newlib/libc/machine/nvptx/Makefile.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libc/machine/nvptx/Makefile.am b/newlib/libc/machine/nvptx/Makefile.am
index 86d8d03..ef0d239 100644
--- a/newlib/libc/machine/nvptx/Makefile.am
+++ b/newlib/libc/machine/nvptx/Makefile.am
@@ -1,8 +1,8 @@
## Process this file with automake to generate Makefile.in
-INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
+AM_CPPFLAGS = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(INCLUDES)
+AM_CCASFLAGS = $(AM_CPPFLAGS)
noinst_LIBRARIES = lib.a
diff --git a/newlib/libc/machine/nvptx/Makefile.in b/newlib/libc/machine/nvptx/Makefile.in
index 28bc5e9..96a8f31 100644
--- a/newlib/libc/machine/nvptx/Makefile.in
+++ b/newlib/libc/machine/nvptx/Makefile.in
@@ -216,8 +216,8 @@ 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_CCASFLAGS = $(INCLUDES)
+AM_CPPFLAGS = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
+AM_CCASFLAGS = $(AM_CPPFLAGS)
noinst_LIBRARIES = lib.a
lib_a_SOURCES = calloc.c callocr.c malloc.c mallocr.c realloc.c reallocr.c \
free.c write.c assert.c puts.c putchar.c printf.c abort.c \