aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGE.md5
-rw-r--r--src/Makefile2
-rw-r--r--src/snake-sdl.c3
-rw-r--r--src/version.h2
4 files changed, 8 insertions, 4 deletions
diff --git a/CHANGE.md b/CHANGE.md
index a0c1405..942a586 100644
--- a/CHANGE.md
+++ b/CHANGE.md
@@ -1,3 +1,8 @@
+0.6.2_6 (2020-12-30)
+====================
+
+* Update CFLAGS.
+
0.6.2_5 (2020-12-30)
====================
diff --git a/src/Makefile b/src/Makefile
index c176657..f54df80 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -18,7 +18,7 @@ obj = ${src:.c=.o}
PREFIX = /usr/local
-CFLAGS = -O3 -march=native -pipe -flto=thin -Wall -Wno-unused-result
+CFLAGS = -O3 -march=native -pipe -flto -Wall -Wextra -Wno-unused-result -Wno-unused-parameter
LDFLAGS = -Wl,-O3 -lpthread -lSDL2 -lSDL2_ttf
.ifdef SOUND
diff --git a/src/snake-sdl.c b/src/snake-sdl.c
index 8ec1aa7..28268e0 100644
--- a/src/snake-sdl.c
+++ b/src/snake-sdl.c
@@ -1415,8 +1415,7 @@ main(void)
text_score.cache = 0;
if (flappy) {
- delay.tv_nsec = TICK_TIME_INIT /
- SCREEN_UNIT;
+ delay.tv_nsec /= SCREEN_UNIT;
game_snake_init(&snake0, 0);
diff --git a/src/version.h b/src/version.h
index 78edaf2..eabf0a9 100644
--- a/src/version.h
+++ b/src/version.h
@@ -7,4 +7,4 @@
#define VERSION "0"
#define RELEASE "6"
#define PATCH "2"
-#define EXTRA "_5"
+#define EXTRA "_6"