diff mbox series

[v2,2/2] x86: select CONFIG_64BIT for X86_64

Message ID 20241106124215.677519-3-andrew.goodbody@linaro.org
State New
Headers show
Series Select CONFIG_64BIT for sandbox64 and x86_64 | expand

Commit Message

Andrew Goodbody Nov. 6, 2024, 12:42 p.m. UTC
Select CONFIG_64BIT so that we pass the -m64 option (instead of -m32) to
static analysis tools.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
---

Changes in v2:
Corrected commit title to be x86 not sandbox

 arch/x86/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 23a1e21b29..006a59d6fa 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -44,6 +44,7 @@  endchoice
 
 config X86_64
 	bool
+	select 64BIT
 
 config SPL_X86_64
 	bool