public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] newlib: fix silent build in a few subdirs
@ 2022-01-06  1:39 Michael Frysinger
  0 siblings, 0 replies; only message in thread
From: Michael Frysinger @ 2022-01-06  1:39 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=5a94ffd57a8d62fb54fed9db596ae33a03fb872b

commit 5a94ffd57a8d62fb54fed9db596ae33a03fb872b
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Sat Jan 1 20:22:32 2022 -0500

    newlib: fix silent build in a few subdirs
    
    A few subdirs have custom compile rules.  Utilize AM_V_xxx settings
    so they respect the silent build option.

Diff:
---
 newlib/libc/stdio/Makefile.am                  | 4 ++--
 newlib/libc/stdio/Makefile.in                  | 4 ++--
 newlib/libc/stdio64/Makefile.am                | 4 ++--
 newlib/libc/stdio64/Makefile.in                | 4 ++--
 newlib/libc/stdlib/Makefile.am                 | 4 ++--
 newlib/libc/stdlib/Makefile.in                 | 4 ++--
 newlib/libc/sys/linux/linuxthreads/Makefile.am | 4 ++--
 newlib/libc/sys/linux/linuxthreads/Makefile.in | 4 ++--
 8 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/newlib/libc/stdio/Makefile.am b/newlib/libc/stdio/Makefile.am
index cbcd56ccd..f4c26bec8 100644
--- a/newlib/libc/stdio/Makefile.am
+++ b/newlib/libc/stdio/Makefile.am
@@ -227,7 +227,7 @@ noinst_LTLIBRARIES = libstdio.la
 libstdio_la_SOURCES = $(GENERAL_SOURCES) $(ELIX_2_SOURCES) $(ELIX_4_SOURCES)
 libstdio_la_LIBADD = $(LIBADD_OBJS)
 libstdio_la_DEPENDENCIES = $(LIBADD_OBJS)
-LIB_COMPILE = $(LTCOMPILE)
+LIB_COMPILE = $(AM_V_CC)$(LTCOMPILE)
 noinst_DATA = objectlist.awk.in
 else
 noinst_LIBRARIES = lib.a
@@ -235,7 +235,7 @@ lib_a_SOURCES = $(GENERAL_SOURCES) $(ELIX_2_SOURCES) $(ELIX_4_SOURCES)
 lib_a_LIBADD = $(LIBADD_OBJS)
 lib_a_CFLAGS = $(AM_CFLAGS)
 lib_a_DEPENDENCIES = $(LIBADD_OBJS)
-LIB_COMPILE = $(COMPILE)
+LIB_COMPILE = $(AM_V_CC)$(COMPILE)
 noinst_DATA =
 endif # USE_LIBTOOL
 
diff --git a/newlib/libc/stdio/Makefile.in b/newlib/libc/stdio/Makefile.in
index a3f8628d1..99bf15792 100644
--- a/newlib/libc/stdio/Makefile.in
+++ b/newlib/libc/stdio/Makefile.in
@@ -659,8 +659,8 @@ libstdio_la_LDFLAGS = -Xcompiler -nostdlib
 @USE_LIBTOOL_TRUE@libstdio_la_SOURCES = $(GENERAL_SOURCES) $(ELIX_2_SOURCES) $(ELIX_4_SOURCES)
 @USE_LIBTOOL_TRUE@libstdio_la_LIBADD = $(LIBADD_OBJS)
 @USE_LIBTOOL_TRUE@libstdio_la_DEPENDENCIES = $(LIBADD_OBJS)
-@USE_LIBTOOL_FALSE@LIB_COMPILE = $(COMPILE)
-@USE_LIBTOOL_TRUE@LIB_COMPILE = $(LTCOMPILE)
+@USE_LIBTOOL_FALSE@LIB_COMPILE = $(AM_V_CC)$(COMPILE)
+@USE_LIBTOOL_TRUE@LIB_COMPILE = $(AM_V_CC)$(LTCOMPILE)
 @USE_LIBTOOL_FALSE@noinst_DATA = 
 @USE_LIBTOOL_TRUE@noinst_DATA = objectlist.awk.in
 @USE_LIBTOOL_FALSE@noinst_LIBRARIES = lib.a
diff --git a/newlib/libc/stdio64/Makefile.am b/newlib/libc/stdio64/Makefile.am
index 874993d4f..074107e0c 100644
--- a/newlib/libc/stdio64/Makefile.am
+++ b/newlib/libc/stdio64/Makefile.am
@@ -26,13 +26,13 @@ libstdio64_la_LDFLAGS = -Xcompiler -nostdlib
 if USE_LIBTOOL
 noinst_LTLIBRARIES = libstdio64.la
 libstdio64_la_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
-LIB_COMPILE = $(LTCOMPILE)
+LIB_COMPILE = $(AM_V_CC)$(LTCOMPILE)
 noinst_DATA = objectlist.awk.in
 else
 noinst_LIBRARIES = lib.a
 lib_a_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
 lib_a_CFLAGS = $(AM_CFLAGS)
-LIB_COMPILE = $(COMPILE)
+LIB_COMPILE = $(AM_V_CC)$(COMPILE)
 noinst_DATA =
 endif # USE_LIBTOOL
 
diff --git a/newlib/libc/stdio64/Makefile.in b/newlib/libc/stdio64/Makefile.in
index b7dc373ea..96719dd72 100644
--- a/newlib/libc/stdio64/Makefile.in
+++ b/newlib/libc/stdio64/Makefile.in
@@ -304,8 +304,8 @@ GENERAL_SOURCES = dummy.c local64.h
 libstdio64_la_LDFLAGS = -Xcompiler -nostdlib
 @USE_LIBTOOL_TRUE@noinst_LTLIBRARIES = libstdio64.la
 @USE_LIBTOOL_TRUE@libstdio64_la_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
-@USE_LIBTOOL_FALSE@LIB_COMPILE = $(COMPILE)
-@USE_LIBTOOL_TRUE@LIB_COMPILE = $(LTCOMPILE)
+@USE_LIBTOOL_FALSE@LIB_COMPILE = $(AM_V_CC)$(COMPILE)
+@USE_LIBTOOL_TRUE@LIB_COMPILE = $(AM_V_CC)$(LTCOMPILE)
 @USE_LIBTOOL_FALSE@noinst_DATA = 
 @USE_LIBTOOL_TRUE@noinst_DATA = objectlist.awk.in
 @USE_LIBTOOL_FALSE@noinst_LIBRARIES = lib.a
diff --git a/newlib/libc/stdlib/Makefile.am b/newlib/libc/stdlib/Makefile.am
index 9ecffea39..f0e3b0003 100644
--- a/newlib/libc/stdlib/Makefile.am
+++ b/newlib/libc/stdlib/Makefile.am
@@ -208,7 +208,7 @@ noinst_LTLIBRARIES = libstdlib.la
 libstdlib_la_SOURCES = $(GENERAL_SOURCES) $(EXTENDED_SOURCES) $(ELIX_SOURCES)
 libstdlib_la_LIBADD =  $(LIBADD_OBJS) $(ELIX_OBJS)
 libstdlib_la_DEPENDENCIES = $(LIBADD_OBJS) $(ELIX_OBJS)
-LIB_COMPILE = $(LTCOMPILE)
+LIB_COMPILE = $(AM_V_CC)$(LTCOMPILE)
 noinst_DATA = objectlist.awk.in
 else
 noinst_LIBRARIES = lib.a
@@ -216,7 +216,7 @@ lib_a_SOURCES = $(GENERAL_SOURCES) $(EXTENDED_SOURCES) $(ELIX_SOURCES)
 lib_a_LIBADD = $(LIBADD_OBJS) $(ELIX_OBJS)
 lib_a_CFLAGS = $(AM_CFLAGS)
 lib_a_DEPENDENCIES = $(LIBADD_OBJS) $(ELIX_OBJS)
-LIB_COMPILE = $(COMPILE)
+LIB_COMPILE = $(AM_V_CC)$(COMPILE)
 noinst_DATA =
 endif # USE_LIBTOOL
 
diff --git a/newlib/libc/stdlib/Makefile.in b/newlib/libc/stdlib/Makefile.in
index ece50354d..f0c038b4e 100644
--- a/newlib/libc/stdlib/Makefile.in
+++ b/newlib/libc/stdlib/Makefile.in
@@ -512,8 +512,8 @@ libstdlib_la_LDFLAGS = -Xcompiler -nostdlib
 @USE_LIBTOOL_TRUE@libstdlib_la_SOURCES = $(GENERAL_SOURCES) $(EXTENDED_SOURCES) $(ELIX_SOURCES)
 @USE_LIBTOOL_TRUE@libstdlib_la_LIBADD = $(LIBADD_OBJS) $(ELIX_OBJS)
 @USE_LIBTOOL_TRUE@libstdlib_la_DEPENDENCIES = $(LIBADD_OBJS) $(ELIX_OBJS)
-@USE_LIBTOOL_FALSE@LIB_COMPILE = $(COMPILE)
-@USE_LIBTOOL_TRUE@LIB_COMPILE = $(LTCOMPILE)
+@USE_LIBTOOL_FALSE@LIB_COMPILE = $(AM_V_CC)$(COMPILE)
+@USE_LIBTOOL_TRUE@LIB_COMPILE = $(AM_V_CC)$(LTCOMPILE)
 @USE_LIBTOOL_FALSE@noinst_DATA = 
 @USE_LIBTOOL_TRUE@noinst_DATA = objectlist.awk.in
 @USE_LIBTOOL_FALSE@noinst_LIBRARIES = lib.a
diff --git a/newlib/libc/sys/linux/linuxthreads/Makefile.am b/newlib/libc/sys/linux/linuxthreads/Makefile.am
index 962c1c547..592bdc69b 100644
--- a/newlib/libc/sys/linux/linuxthreads/Makefile.am
+++ b/newlib/libc/sys/linux/linuxthreads/Makefile.am
@@ -67,7 +67,7 @@ libpthread_la_LIBADD = $(LIBADD_OBJS)
 ## libpthread_la_DEPENDENCIES = defs.h crti.S
 libpthread_la_DEPENDENCIES = $(LIBADD_OBJS) extra-libtool-objlist
 noinst_DATA=objectlist.awk.in
-LIB_COMPILE = $(LTCOMPILE)
+LIB_COMPILE = $(AM_V_CC)$(LTCOMPILE)
 
 libthread_db_la_SOURCES = $(LIB_DB_SOURCES)
 
@@ -79,7 +79,7 @@ libpthread_a_LIBADD = $(LIBADD_OBJS) $(MACHINE_LIB)
 libpthread_a_CFLAGS = $(AM_CFLAGS)
 ## libpthread_a_DEPENDENCIES = defs.h crti.S
 libpthread_a_DEPENDENCIES = $(LIBADD_OBJS) $(MACHINE_LIB)
-LIB_COMPILE = $(COMPILE)
+LIB_COMPILE = $(AM_V_CC)$(COMPILE)
 
 libthread_db_a_SOURCES = $(LIB_DB_SOURCES)
 libthread_db_a_CFLAGS = $(AM_CFLAGS)
diff --git a/newlib/libc/sys/linux/linuxthreads/Makefile.in b/newlib/libc/sys/linux/linuxthreads/Makefile.in
index cd348d8f4..3a0ec1cdd 100644
--- a/newlib/libc/sys/linux/linuxthreads/Makefile.in
+++ b/newlib/libc/sys/linux/linuxthreads/Makefile.in
@@ -453,8 +453,8 @@ libthread_db_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO) -release newlib
 @USE_LIBTOOL_TRUE@libpthread_la_LIBADD = $(LIBADD_OBJS)
 @USE_LIBTOOL_TRUE@libpthread_la_DEPENDENCIES = $(LIBADD_OBJS) extra-libtool-objlist
 @USE_LIBTOOL_TRUE@noinst_DATA = objectlist.awk.in
-@USE_LIBTOOL_FALSE@LIB_COMPILE = $(COMPILE)
-@USE_LIBTOOL_TRUE@LIB_COMPILE = $(LTCOMPILE)
+@USE_LIBTOOL_FALSE@LIB_COMPILE = $(AM_V_CC)$(COMPILE)
+@USE_LIBTOOL_TRUE@LIB_COMPILE = $(AM_V_CC)$(LTCOMPILE)
 @USE_LIBTOOL_TRUE@libthread_db_la_SOURCES = $(LIB_DB_SOURCES)
 @USE_LIBTOOL_FALSE@toollib_LIBRARIES = libpthread.a libthread_db.a
 @USE_LIBTOOL_FALSE@libpthread_a_SOURCES = $(LIB_SOURCES) $(ELIX_SOURCES)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-06  1:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-06  1:39 [newlib-cygwin] newlib: fix silent build in a few subdirs Michael Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).