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:
+3
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user