[klibc] [PATCH] Avoid infinite loop during build with make 3.82

maximilian attems max at stro.at
Sun Nov 14 02:12:46 PST 2010


On Thu, 11 Nov 2010, crocket wrote:

> Is that the patch?

yes indeed. (:
so how does it work out?
 
> diff --git a/usr/klibc/socketcalls/Kbuild b/usr/klibc/socketcalls/Kbuild
> index 648c928..d70b15f 100644
> --- a/usr/klibc/socketcalls/Kbuild
> +++ b/usr/klibc/socketcalls/Kbuild
> @@ -48,3 +48,6 @@ $(obj)/socketcalls.mk:
> $(srctree)/$(KLIBCSRC)/socketcalls.pl        \
>                        $(obj)/SOCKETCALLS.i                         \
>                        $(src)/socketcommon.h
>        $(call cmd,socketcalls)
> +
> +# Used by if_changed and friends
> +PHONY += FORCE
> diff --git a/usr/klibc/syscalls/Kbuild b/usr/klibc/syscalls/Kbuild
> index 4dbbc31..c94f65c 100644
> --- a/usr/klibc/syscalls/Kbuild
> +++ b/usr/klibc/syscalls/Kbuild
> @@ -95,3 +95,6 @@ $(obj)/syscalls.mk:
> $(srctree)/$(KLIBCSRC)/syscalls.pl $(obj)/SYSCALLS.i   \
>                     $(src)/syscommon.h $(obj)/syscalls.nrs                 \
>                     $(obj)/typesize.bin FORCE
>        $(call if_changed,syscalls)
> +
> +# Used by if_changed and friends
> +PHONY += FORCE
> 



More information about the klibc mailing list