]> git.sur5r.net Git - rgb2r-2017/commitdiff
Do not optimize
authorJakob Haufe <sur5r@sur5r.net>
Sat, 22 Sep 2018 18:22:53 +0000 (20:22 +0200)
committerJakob Haufe <sur5r@sur5r.net>
Sat, 22 Sep 2018 18:22:53 +0000 (20:22 +0200)
Current cc65 has changed optimization flags and it's unnecessary for
this code.

Makefile

index e0087976441438e73cb52a74e0b67713666a3ef9..f95267cc947678b0a30aa9bd2e54745423e5fcbc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ diskbench.d71: diskbench
        c1541 -attach diskbench.d71 -write data data,s
 
 %.s: %.c
        c1541 -attach diskbench.d71 -write data data,s
 
 %.s: %.c
-       ${CC} ${CFLAGS} -O1 $< -o $@
+       ${CC} ${CFLAGS} $< -o $@
 
 %.o: %.s
        ${AS} ${CFLAGS} $< -o $@
 
 %.o: %.s
        ${AS} ${CFLAGS} $< -o $@