Makefile.mk: Remove RISC-V workaround
The issue has been fixed since binutils version 2.43 Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com> Change-Id: I9d8802aa0908dd2838199399e739b13c345702f3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/90815 Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
09b8b5a33a
commit
deeb884c8d
1 changed files with 0 additions and 5 deletions
|
|
@ -614,12 +614,7 @@ LDFLAGS_common += -nostdlib
|
|||
LDFLAGS_common += --nmagic
|
||||
LDFLAGS_common += -static
|
||||
LDFLAGS_common += -z noexecstack
|
||||
|
||||
# Workaround for RISC-V linker bug, merge back into above line when fixed.
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=27180
|
||||
ifneq ($(CONFIG_ARCH_RISCV),y)
|
||||
LDFLAGS_common += --emit-relocs
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_WARNINGS_ARE_ERRORS),y)
|
||||
CFLAGS_common += -Werror
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue