summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoraliaspider2015-04-06 11:29:08 +0100
committeraliaspider2015-04-06 11:29:08 +0100
commit0fa650d5892068a4296fe72ad72683ab52db233d (patch)
treebaecace838b365d34bb5cdd353c05e723b4fefb9 /Makefile
parent33add4bad460f2c126955bf80517c549a18e2cdf (diff)
downloadpicogpsp-0fa650d5892068a4296fe72ad72683ab52db233d.tar.gz
picogpsp-0fa650d5892068a4296fe72ad72683ab52db233d.tar.bz2
picogpsp-0fa650d5892068a4296fe72ad72683ab52db233d.zip
force libco to compile with release CFLAGS
-O0 breaks it on some platforms.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
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 $@ $<