--- linux/lib/Makefile 2018/04/24 18:00:13 1.1.1.2 +++ linux/lib/Makefile 2018/04/24 18:00:48 1.1.1.3 @@ -6,20 +6,20 @@ # unless it's something special (ie not a .c file). # -AR =gar -AS =gas -LD =gld +AR =ar +AS =as +LD =ld LDFLAGS =-s -x CC =gcc -CFLAGS =-Wall -O -fstrength-reduce -fomit-frame-pointer -fcombine-regs \ - -finline-functions -nostdinc -I../include +CFLAGS =-Wall -O -fstrength-reduce -fomit-frame-pointer \ + -finline-functions -fno-stack-protector -nostdinc -I../include CPP =gcc -E -nostdinc -I../include .c.s: $(CC) $(CFLAGS) \ -S -o $*.s $< .s.o: - $(AS) -c -o $*.o $< + $(AS) -o $*.o $< .c.o: $(CC) $(CFLAGS) \ -c -o $*.o $<