aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authoryzrh <yzrh@noema.org>2021-01-29 21:52:29 +0000
committeryzrh <yzrh@noema.org>2021-01-29 21:52:29 +0000
commit89cdfb6f237c2472999a3647dab3664c4e51472e (patch)
treea7edfef6387dac8be5d5d6399d34130fe8bd7173 /src/Makefile
parent22a1fd45694a17f735c3eab5a677ed80b824a5b4 (diff)
downloadsnake-sdl-89cdfb6f237c2472999a3647dab3664c4e51472e.tar.gz
snake-sdl-89cdfb6f237c2472999a3647dab3664c4e51472e.tar.zst
Update CFLAGS for GCC 10.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
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