Remove -march=native in Makefile and remove char **envp for POSIX compliance.

This commit is contained in:
yzrh 2021-09-02 17:04:05 +00:00
parent 409acceffa
commit 86b6487fff
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ obj = ${src:.c=.o}
PREFIX = /usr/local
CFLAGS = -O3 -march=native -pipe -flto -Wall -Wextra -Wno-unused-parameter
CFLAGS = -O3 -pipe -flto -Wall -Wextra -Wno-unused-parameter
LDFLAGS = -Wl,-O3 -lcrypto -liconv -lz -ljbig -ljpeg -Wl,--as-needed
CFLAGS += -I/usr/local/include

View file

@ -14,7 +14,7 @@
#include "version.h"
int
main(int argc, char **argv, char **envp)
main(int argc, char **argv)
{
cnki_t *param = NULL;