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:
Alexander von Gluck IV 2022-02-21 17:53:45 -06:00 committed by Alex von Gluck IV
parent e9541a68ed
commit 397102c17d

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=) :