sandbox: select CONFIG_64BIT for sandbox
authorAndrew Goodbody <andrew.goodbody@linaro.org>
Mon, 16 Dec 2024 18:07:34 +0000 (18:07 +0000)
committerTom Rini <trini@konsulko.com>
Tue, 31 Dec 2024 16:58:30 +0000 (10:58 -0600)
Select CONFIG_64BIT so that we pass the -m64 option (instead of -m32) to
static analysis tools.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
arch/sandbox/Kconfig

index 1c8353d..db29ca1 100644 (file)
@@ -46,6 +46,7 @@ config HOST_32BIT
 
 config HOST_64BIT
        def_bool $(cc-define,_LP64)
+       select 64BIT
 
 config HOST_HAS_SDL
        def_bool $(success,sdl2-config --version)