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:
Alexander von Gluck IV
2022-03-09 13:47:03 +00:00
committed by Alex von Gluck IV
parent e9541a68ed
commit 397102c17d
+1 -1
View File
@@ -352,7 +352,7 @@ for platform in [ MultiBootSubDirSetup ] {
}
if $(TARGET_BOOT_PLATFORM) = riscv {
ldflags += -z,notext ;
ldflags += -z notext ;
}
BootLd boot_loader_$(platform:G=) :