test for valid ASFLAGS before calling yasm
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30112 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -174,7 +174,11 @@ rule AssembleNasm
|
|||||||
|
|
||||||
actions AssembleNasm
|
actions AssembleNasm
|
||||||
{
|
{
|
||||||
yasm -d $(ASFLAGS) -f elf -o $(1) $(2)
|
if test $(ASFLAGS) ; then
|
||||||
|
yasm -d $(ASFLAGS) -f elf32 -o $(1) $(2);
|
||||||
|
else
|
||||||
|
yasm -f elf32 -o $(1) $(2);
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
rule Ld
|
rule Ld
|
||||||
|
|||||||
Reference in New Issue
Block a user