Makefile: fix %.S rule (broke loader build on x86)

The rule merged from svn used "ASFLAGS" which was set for FFmpeg
only. Change it to use CFLAGS instead (ASFLAGS is the same in svn).
This commit is contained in:
Uoti Urpala 2010-03-10 16:40:22 +02:00
parent 00323c06e2
commit f4a1d6e36e
1 changed files with 1 additions and 1 deletions

View File

@ -756,7 +756,7 @@ all: $(ALL_PRG-yes)
$(CC) $(CFLAGS) -Wno-unused -c -o $@ -x c $< $(CC) $(CFLAGS) -Wno-unused -c -o $@ -x c $<
%.o: %.S %.o: %.S
$(CC) $(ASFLAGS) -c -o $@ $< $(CC) $(CFLAGS) -c -o $@ $<
%-rc.o: %.rc %-rc.o: %.rc
$(WINDRES) -I. $< $@ $(WINDRES) -I. $< $@