Remove -march=native in Makefile and remove char **envp for POSIX compliance.
This commit is contained in:
parent
409acceffa
commit
86b6487fff
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ obj = ${src:.c=.o}
|
||||||
|
|
||||||
PREFIX = /usr/local
|
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
|
LDFLAGS = -Wl,-O3 -lcrypto -liconv -lz -ljbig -ljpeg -Wl,--as-needed
|
||||||
|
|
||||||
CFLAGS += -I/usr/local/include
|
CFLAGS += -I/usr/local/include
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
|
||||||
int
|
int
|
||||||
main(int argc, char **argv, char **envp)
|
main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
cnki_t *param = NULL;
|
cnki_t *param = NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue