screen-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [screen-devel] [PATCH] Makefile.in: Fix out of tree build


From: Kieran Bingham
Subject: Re: [screen-devel] [PATCH] Makefile.in: Fix out of tree build
Date: Sun, 4 Oct 2015 11:28:43 +0100

Already NACK'd by me ...
This prevents pulling in system includes when there is a local include
of the same name (i.e. pty.h, stops bringing in /usr/include/pty.h)

--
Kieran

On 3 October 2015 at 23:59, Kieran Bingham <address@hidden> wrote:
> Commit: 144836c3bb020405bf029d0d5a85c84aa74662d9 "more header stuff"
> removed inclusion options passed in Makefile, however this breaks out
> of tree builds, as the generated config.h file is not discovered.
>
> Re-introduce the -I flags to repair building outside of '/src'
>
> Signed-off-by: Kieran Bingham <address@hidden>
> ---
>  src/Makefile.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/Makefile.in b/src/Makefile.in
> index a7e990d..f5f2a63 100644
> --- a/src/Makefile.in
> +++ b/src/Makefile.in
> @@ -63,7 +63,7 @@ screen: $(OFILES)
>         $(CC) $(LDFLAGS) -o $@ $(OFILES) $(LIBS)
>
>  .c.o:
> -       $(CC) -c $(M_CFLAGS) $(CPPFLAGS) $(CFLAGS) $< -o $@
> +       $(CC) -c -I. -I$(srcdir) $(M_CFLAGS) $(CPPFLAGS) $(CFLAGS) $< -o $@
>
>  check: $(TESTBIN)
>         for f in $(TESTBIN); do \
> --
> 2.1.4
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]