Update Makefile
Signed-off-by: yzrh <yzrh@noema.org>
This commit is contained in:
parent
86b6487fff
commit
3550095959
1 changed files with 3 additions and 3 deletions
|
@ -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
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
@ -15,8 +15,8 @@ obj = ${src:.c=.o}
|
||||||
|
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
|
|
||||||
CFLAGS = -O3 -pipe -flto -Wall -Wextra -Wno-unused-parameter
|
CFLAGS = -O2 -pipe -flto -Wall -Wextra -Wno-unused-parameter
|
||||||
LDFLAGS = -Wl,-O3 -lcrypto -liconv -lz -ljbig -ljpeg -Wl,--as-needed
|
LDFLAGS = -Wl,-O2 -lcrypto -liconv -lz -ljbig -ljpeg -Wl,--as-needed
|
||||||
|
|
||||||
CFLAGS += -I/usr/local/include
|
CFLAGS += -I/usr/local/include
|
||||||
LDFLAGS += -L/usr/local/lib
|
LDFLAGS += -L/usr/local/lib
|
||||||
|
|
Loading…
Reference in a new issue