diff options
author | aliaspider | 2015-04-06 11:29:08 +0100 |
---|---|---|
committer | aliaspider | 2015-04-06 11:29:08 +0100 |
commit | 0fa650d5892068a4296fe72ad72683ab52db233d (patch) | |
tree | baecace838b365d34bb5cdd353c05e723b4fefb9 | |
parent | 33add4bad460f2c126955bf80517c549a18e2cdf (diff) | |
download | picogpsp-0fa650d5892068a4296fe72ad72683ab52db233d.tar.gz picogpsp-0fa650d5892068a4296fe72ad72683ab52db233d.tar.bz2 picogpsp-0fa650d5892068a4296fe72ad72683ab52db233d.zip |
force libco to compile with release CFLAGS
-O0 breaks it on some platforms.
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 $@ $< |