summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorbmaupin2019-10-21 12:27:37 -0400
committerbmaupin2019-10-24 13:23:28 -0400
commitf1109b1df4faff497b526af9e157449f65b870c6 (patch)
tree429523650fcce752d4028594b7edd548aba2ce75 /Makefile
parente78375df8e9a68aba83185472bfe5bdb06910811 (diff)
downloadpicogpsp-f1109b1df4faff497b526af9e157449f65b870c6.tar.gz
picogpsp-f1109b1df4faff497b526af9e157449f65b870c6.tar.bz2
picogpsp-f1109b1df4faff497b526af9e157449f65b870c6.zip
Use OPTIMIZE for compiling libco too
In case it needs to be debugged
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e0e9a81..3d617be 100644
--- a/Makefile
+++ b/Makefile
@@ -502,7 +502,7 @@ 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 $@ $<
+ $(CC) $(INCFLAGS) $(CFLAGS) $(OPTIMIZE) -c -o $@ $<
%.o: %.S
$(CC) $(ASFLAGS) $(CFLAGS) $(OPTIMIZE) -c -o $@ $<