[U-Boot] [PATCH v2] sandbox: Build with -fPIC

Simon Glass sjg at chromium.org
Sat Sep 15 02:03:43 UTC 2018


On 3 September 2018 at 11:08, Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:
> Sandbox is not a real bootloader and it does require
> a position independent code to be supported.
>
> Thus, build it with -fPIC explicitly.
>
> Fixes: 16940f720f9b ("Makefile: Don't generate position independent code")
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> Reported-by: Simon Glass <sjg at chromium.org>
> Tested-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
> - rebased on top of latest u-boot/master
> - added Bin's Tb tag
>
>  arch/sandbox/config.mk | 1 +
>  1 file changed, 1 insertion(+)

Acked-by: Simon Glass <sjg at chromium.org>
Tested-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list