public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] .gitignore: do not ignore config.h
@ 2022-07-19 14:08 Alexander Monakov
  2022-07-20  7:30 ` Richard Biener
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Monakov @ 2022-07-19 14:08 UTC (permalink / raw)
  To: gcc-patches

GCC does not support in-tree builds at the moment, so .gitignore
concealing artifacts of accidental in-tree ./configure run may cause
confusion. Un-ignore config.h, which is known to break the build.

ChangeLog:

	* .gitignore: Do not ignore config.h.
---
 .gitignore | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 021a8c741..5cc4a0fdf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,7 +23,8 @@
 
 autom4te.cache
 config.cache
-config.h
+# GCC does not support in-tree builds, do not conceal a stray config.h:
+# config.h
 config.intl
 config.log
 config.status
-- 
2.35.1

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

* Re: [committed] .gitignore: do not ignore config.h
  2022-07-19 14:08 [committed] .gitignore: do not ignore config.h Alexander Monakov
@ 2022-07-20  7:30 ` Richard Biener
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Biener @ 2022-07-20  7:30 UTC (permalink / raw)
  To: Alexander Monakov; +Cc: GCC Patches

On Tue, Jul 19, 2022 at 4:09 PM Alexander Monakov via Gcc-patches
<gcc-patches@gcc.gnu.org> wrote:
>
> GCC does not support in-tree builds at the moment, so .gitignore
> concealing artifacts of accidental in-tree ./configure run may cause
> confusion. Un-ignore config.h, which is known to break the build.

OK

> ChangeLog:
>
>         * .gitignore: Do not ignore config.h.
> ---
>  .gitignore | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/.gitignore b/.gitignore
> index 021a8c741..5cc4a0fdf 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -23,7 +23,8 @@
>
>  autom4te.cache
>  config.cache
> -config.h
> +# GCC does not support in-tree builds, do not conceal a stray config.h:
> +# config.h
>  config.intl
>  config.log
>  config.status
> --
> 2.35.1

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

end of thread, other threads:[~2022-07-20  7:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-19 14:08 [committed] .gitignore: do not ignore config.h Alexander Monakov
2022-07-20  7:30 ` 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).