Commit f9643f34 authored by Karsten Merker's avatar Karsten Merker Committed by Anup Patel
Browse files

Makefile: explicitly disable PIE



The various available RISC-V toolchains differ in their default
configuration regarding PIE, e.g. the buildroot RISC-V toolchain
has PIE disabled by default while the Debian toolchain has it
enabled by default.

OpenSBI currently doesn't support being built with PIE enabled,
therefore disable it explicitly by passing "-fno-pie -no-pie" in
CFLAGS.

Signed-off-by: default avatarKarsten Merker <merker@debian.org>
Acked-by: default avatarAnup Patel <anup.patel@wdc.com>
parent c1d01b0c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment