[committed] .gitignore: do not ignore config.h
Commit Message
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(-)
Comments
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
@@ -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