Usermode/ld-acess - Use $(AS) var instead of invoking CC
authorJohn Hodge <[email protected]>
Sun, 15 Feb 2015 04:56:58 +0000 (12:56 +0800)
committerJohn Hodge <[email protected]>
Sun, 15 Feb 2015 04:56:58 +0000 (12:56 +0800)
- Intel targets use nasm, not GAS

Usermode/Libraries/ld-acess.so_src/Makefile

index 7ee8a96..d6691e4 100644 (file)
@@ -41,8 +41,7 @@ $(_XBIN): $(_OBJPREFIX)_stublib.o
 $(_OBJPREFIX)arch/$(ARCHDIR).ao_: $(_OBJPREFIX)arch/$(ARCHDIR).$(ASSUFFIX) Makefile
        @echo [AS] -o $@
        @mkdir -p $(dir $@)
-       #$V$(AS) $(ASFLAGS) -o $@ $<
-       $V$(CC) -c $(ASFLAGS) -o $@ $<
+       $V$(AS) $(ASFLAGS) -o $@ $<
 
 #.PRECIOUS: $(OBJ:%.ao=%.asm)
 

UCC git Repository :: git.ucc.asn.au