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:
parent
96e5f9e535
commit
31433f615e
@ -174,7 +174,11 @@ rule 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user