Update CFLAGS for GCC 10.
This commit is contained in:
parent
22a1fd4569
commit
89cdfb6f23
4 changed files with 8 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
0.6.2_6 (2020-12-30)
|
||||
====================
|
||||
|
||||
* Update CFLAGS.
|
||||
|
||||
0.6.2_5 (2020-12-30)
|
||||
====================
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -7,4 +7,4 @@
|
|||
#define VERSION "0"
|
||||
#define RELEASE "6"
|
||||
#define PATCH "2"
|
||||
#define EXTRA "_5"
|
||||
#define EXTRA "_6"
|
||||
|
|
Loading…
Reference in a new issue