[klibc] Kbuild: Avoid infinite loop during build with make 3.82
Remove FORCE from the list used by if_changed and friends. Otherwise the target
will always be considered out of date when built with make 3.82.
>From GNU make 3.82 NEWS file:
* WARNING: Backward-incompatibility!
The '$?' variable now contains all prerequisites that caused the target to
be considered out of date, even if they do not exist (previously only
existing targets were provided in $?).
Tested-by: Erwan Velu <erwanaliasr1@gmail.com>
Tested-by: crocket <crockabiscuit@gmail.com>
Signed-off-by: maximilian attems <max@stro.at>
diff --git a/usr/klibc/socketcalls/Kbuild b/usr/klibc/socketcalls/Kbuild
index 648c928..4ff9af7 100644
--- a/usr/klibc/socketcalls/Kbuild
+++ b/usr/klibc/socketcalls/Kbuild
@@ -48,3 +48,6 @@
$(obj)/SOCKETCALLS.i \
$(src)/socketcommon.h
$(call cmd,socketcalls)
+
+PHONY += FORCE
+
diff --git a/usr/klibc/syscalls/Kbuild b/usr/klibc/syscalls/Kbuild
index 4dbbc31..5eb88fa 100644
--- a/usr/klibc/syscalls/Kbuild
+++ b/usr/klibc/syscalls/Kbuild
@@ -95,3 +95,6 @@
$(src)/syscommon.h $(obj)/syscalls.nrs \
$(obj)/typesize.bin FORCE
$(call if_changed,syscalls)
+
+PHONY += FORCE
+