force libco to compile with release CFLAGS

-O0 breaks it on some platforms.
This commit is contained in:
aliaspider 2015-04-06 11:29:08 +01:00
parent 33add4bad4
commit 0fa650d589
1 changed files with 3 additions and 0 deletions

View File

@ -345,6 +345,9 @@ endif
cpu_threaded.o: cpu_threaded.c
$(CC) $(CFLAGS) -Wno-unused-variable -Wno-unused-label $(OPTIMIZE_SAFE) $(INCDIRS) -c -o $@ $<
libco/libco.o: libco/libco.c
$(CC) $(INCFLAGS) $(CFLAGS) -O3 -DNDEBUG -c -o $@ $<
%.o: %.S
$(CC) $(ASFLAGS) $(CFLAGS) $(OPTIMIZE) -c -o $@ $<