boot/riscv64: Fix -znotext invocation to work under ld and lld
Change-Id: If47b0aeeda49661e466c66cabd2ac9a83f16aeef Reviewed-on: https://review.haiku-os.org/c/haiku/+/4987 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
This commit is contained in:
parent
e9541a68ed
commit
397102c17d
@ -352,7 +352,7 @@ for platform in [ MultiBootSubDirSetup ] {
|
||||
}
|
||||
|
||||
if $(TARGET_BOOT_PLATFORM) = riscv {
|
||||
ldflags += -z,notext ;
|
||||
ldflags += -z notext ;
|
||||
}
|
||||
|
||||
BootLd boot_loader_$(platform:G=) :
|
||||
|
Loading…
Reference in New Issue
Block a user