Use OPTIMIZE for compiling libco too
In case it needs to be debugged
This commit is contained in:
parent
e78375df8e
commit
f1109b1df4
2
Makefile
2
Makefile
|
@ -502,7 +502,7 @@ cpu_threaded.o: cpu_threaded.c
|
||||||
$(CC) $(CFLAGS) -Wno-unused-variable -Wno-unused-label $(OPTIMIZE_SAFE) $(INCDIRS) -c -o $@ $<
|
$(CC) $(CFLAGS) -Wno-unused-variable -Wno-unused-label $(OPTIMIZE_SAFE) $(INCDIRS) -c -o $@ $<
|
||||||
|
|
||||||
libco/libco.o: libco/libco.c
|
libco/libco.o: libco/libco.c
|
||||||
$(CC) $(INCFLAGS) $(CFLAGS) -O3 -DNDEBUG -c -o $@ $<
|
$(CC) $(INCFLAGS) $(CFLAGS) $(OPTIMIZE) -c -o $@ $<
|
||||||
|
|
||||||
%.o: %.S
|
%.o: %.S
|
||||||
$(CC) $(ASFLAGS) $(CFLAGS) $(OPTIMIZE) -c -o $@ $<
|
$(CC) $(ASFLAGS) $(CFLAGS) $(OPTIMIZE) -c -o $@ $<
|
||||||
|
|
Loading…
Reference in New Issue