public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] gcc: remove incpath.o from CXX_C_OBJS
@ 2022-12-01  9:33 Martin Liška
  2022-12-01 15:26 ` Richard Biener
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Liška @ 2022-12-01  9:33 UTC (permalink / raw)
  To: gcc-patches; +Cc: Richard Biener

The object is already included in OBJS (libbackend.a), thus
we don't need it.

Noticed while using partial linking for libbackend.a.

Ready to be installed?
Thanks,
Martin

gcc/cp/ChangeLog:

	* Make-lang.in: Remove extra object dependency.
---
 gcc/cp/Make-lang.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in
index af25bdc044a..75e2f7c7ba3 100644
--- a/gcc/cp/Make-lang.in
+++ b/gcc/cp/Make-lang.in
@@ -81,7 +81,7 @@ g++-cross$(exeext): xg++$(exeext)
 
 # The compiler itself.
 # Shared with C front end:
-CXX_C_OBJS = attribs.o incpath.o \
+CXX_C_OBJS = attribs.o \
 	$(C_COMMON_OBJS) $(CXX_TARGET_OBJS)
 
 # Language-specific object files for C++ and Objective C++.
-- 
2.38.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] gcc: remove incpath.o from CXX_C_OBJS
  2022-12-01  9:33 [PATCH] gcc: remove incpath.o from CXX_C_OBJS Martin Liška
@ 2022-12-01 15:26 ` Richard Biener
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Biener @ 2022-12-01 15:26 UTC (permalink / raw)
  To: Martin Liška; +Cc: gcc-patches

On Thu, Dec 1, 2022 at 10:33 AM Martin Liška <mliska@suse.cz> wrote:
>
> The object is already included in OBJS (libbackend.a), thus
> we don't need it.
>
> Noticed while using partial linking for libbackend.a.
>
> Ready to be installed?

Looks obvious?

OK.

> Thanks,
> Martin
>
> gcc/cp/ChangeLog:
>
>         * Make-lang.in: Remove extra object dependency.
> ---
>  gcc/cp/Make-lang.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in
> index af25bdc044a..75e2f7c7ba3 100644
> --- a/gcc/cp/Make-lang.in
> +++ b/gcc/cp/Make-lang.in
> @@ -81,7 +81,7 @@ g++-cross$(exeext): xg++$(exeext)
>
>  # The compiler itself.
>  # Shared with C front end:
> -CXX_C_OBJS = attribs.o incpath.o \
> +CXX_C_OBJS = attribs.o \
>         $(C_COMMON_OBJS) $(CXX_TARGET_OBJS)
>
>  # Language-specific object files for C++ and Objective C++.
> --
> 2.38.1
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-01 15:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-01  9:33 [PATCH] gcc: remove incpath.o from CXX_C_OBJS Martin Liška
2022-12-01 15:26 ` Richard Biener

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).