From 0fa650d5892068a4296fe72ad72683ab52db233d Mon Sep 17 00:00:00 2001 From: aliaspider Date: Mon, 6 Apr 2015 11:29:08 +0100 Subject: force libco to compile with release CFLAGS -O0 breaks it on some platforms. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 82b1e0d..a2b3e5b 100644 --- a/Makefile +++ b/Makefile @@ -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 $@ $< -- cgit v1.2.3