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 <[email protected]> Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
committed by
Alex von Gluck IV
parent
e9541a68ed
commit
397102c17d
@@ -352,7 +352,7 @@ for platform in [ MultiBootSubDirSetup ] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if $(TARGET_BOOT_PLATFORM) = riscv {
|
if $(TARGET_BOOT_PLATFORM) = riscv {
|
||||||
ldflags += -z,notext ;
|
ldflags += -z notext ;
|
||||||
}
|
}
|
||||||
|
|
||||||
BootLd boot_loader_$(platform:G=) :
|
BootLd boot_loader_$(platform:G=) :
|
||||||
|
|||||||
Reference in New Issue
Block a user