aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoryzrh <yzrh@noema.org>2022-12-19 23:54:06 +0000
committeryzrh <yzrh@noema.org>2022-12-19 23:54:06 +0000
commit3550095959fac9337f35306e3c5f6a6aae458129 (patch)
tree7d51e1ac5dc1b3efb8904c9f9ff869add45a65b3 /src
parent86b6487fff9dc3151382f691d6f140cf35f678f9 (diff)
downloadmelon-3550095959fac9337f35306e3c5f6a6aae458129.tar.gz
melon-3550095959fac9337f35306e3c5f6a6aae458129.tar.zst
Update Makefile
Signed-off-by: yzrh <yzrh@noema.org>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index b300426..7016c6c 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2020-2021, yzrh <yzrh@noema.org>
+# Copyright (c) 2020-2022, yzrh <yzrh@noema.org>
#
# SPDX-License-Identifier: Apache-2.0
#
@@ -15,8 +15,8 @@ obj = ${src:.c=.o}
PREFIX = /usr/local
-CFLAGS = -O3 -pipe -flto -Wall -Wextra -Wno-unused-parameter
-LDFLAGS = -Wl,-O3 -lcrypto -liconv -lz -ljbig -ljpeg -Wl,--as-needed
+CFLAGS = -O2 -pipe -flto -Wall -Wextra -Wno-unused-parameter
+LDFLAGS = -Wl,-O2 -lcrypto -liconv -lz -ljbig -ljpeg -Wl,--as-needed
CFLAGS += -I/usr/local/include
LDFLAGS += -L/usr/local/lib