Skip to contentSkip to conversation

um: remove dependency on undefined CC_CAN_LINK_STATIC_NO_RUNTIME_DEPS

PATCH New Masahiro Yamada 1 participant 1 message Sep 24, 2024 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 um: remove dependency on undefined CC_CAN_LINK_STATIC_NO_RUNTIME_DEPS

CC_CAN_LINK_STATIC_NO_RUNTIME_DEPS is not defined anywhere.

In the submitted patch set [1], the first patch "um/kconfig: introduce CC_CAN_LINK_STATIC_NO_RUNTIME_DEPS" was not applied.

Only 2/3 and 3/3 were applied, which are now:

- 730586ff7fad ("um: Allow static linking for non-glibc implementations")
- 5e1121cd43d4 ("um: Some fixes to build UML with musl")

Given that nobody has noticed the missing first patch for many years, it seems it was unnecessary.

[1]: https://lore.kernel.org/lkml/[email protected]/

---

 arch/um/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/um/Kconfig +1 -1
index dca84fd6d00a..71b592b49240 100644
@@ -95,7 +95,7 @@ config MAY_HAVE_RUNTIME_DEPS
 
 config STATIC_LINK
 	bool "Force a static link"
-	depends on CC_CAN_LINK_STATIC_NO_RUNTIME_DEPS || !MAY_HAVE_RUNTIME_DEPS
+	depends on !MAY_HAVE_RUNTIME_DEPS
 	help
 	  This option gives you the ability to force a static link of UML.
 	  Normally, UML is linked as a shared binary.  This is inconvenient for
Signature · 1 line
2.43.0