From 3550095959fac9337f35306e3c5f6a6aae458129 Mon Sep 17 00:00:00 2001 From: yzrh Date: Mon, 19 Dec 2022 23:54:06 +0000 Subject: Update Makefile Signed-off-by: yzrh --- src/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Makefile') 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 +# Copyright (c) 2020-2022, yzrh # # 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 -- cgit v1.2.3