BootRules: BuildMBR links as well as compiles, so pass in LINKFLAGS.
Clang builds presently have some magic in it that is required for linking to work at all.
This commit is contained in:
parent
95e0ce2c0b
commit
8b4ab45439
@ -216,5 +216,7 @@ rule BuildMBR binary : source
|
||||
actions BuildMBR
|
||||
{
|
||||
$(RM) $(1)
|
||||
$(HAIKU_CC_$(HAIKU_PACKAGING_ARCH)) $(2) -o $(1) $(MBRFLAGS) -nostdlib -Xlinker --oformat=binary -Xlinker -S -Xlinker -N -Xlinker --entry=start -Xlinker -Ttext=0x600
|
||||
$(HAIKU_CC_$(HAIKU_PACKAGING_ARCH)) $(HAIKU_LINKFLAGS_$(HAIKU_PACKAGING_ARCH)) \
|
||||
$(2) -o $(1) $(MBRFLAGS) -nostdlib -Xlinker --oformat=binary \
|
||||
-Xlinker -S -Xlinker -N -Xlinker --entry=start -Xlinker -Ttext=0x600
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user