aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authoryzrh <yzrh@noema.org>2022-12-19 23:18:43 +0000
committeryzrh <yzrh@noema.org>2022-12-19 23:18:43 +0000
commit471a8b42d262ec1cc1324e357af178ded2e04555 (patch)
treeecce7bac77700eb19ae20689c98f0f2f6787102c /src/Makefile
parent89cdfb6f237c2472999a3647dab3664c4e51472e (diff)
downloadsnake-sdl-471a8b42d262ec1cc1324e357af178ded2e04555.tar.gz
snake-sdl-471a8b42d262ec1cc1324e357af178ded2e04555.tar.zst
Update Makefile
Signed-off-by: yzrh <yzrh@noema.org>
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index f54df80..21ccda9 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2019-2021, yzrh <yzrh@noema.org>
+# Copyright (c) 2019-2022, yzrh <yzrh@noema.org>
#
# SPDX-License-Identifier: Apache-2.0
#
@@ -18,8 +18,8 @@ obj = ${src:.c=.o}
PREFIX = /usr/local
-CFLAGS = -O3 -march=native -pipe -flto -Wall -Wextra -Wno-unused-result -Wno-unused-parameter
-LDFLAGS = -Wl,-O3 -lpthread -lSDL2 -lSDL2_ttf
+CFLAGS = -O2 -pipe -flto -Wall -Wextra -Wno-unused-result -Wno-unused-parameter
+LDFLAGS = -Wl,-O2 -lpthread -lSDL2 -lSDL2_ttf
.ifdef SOUND