diff options
author | yzrh <yzrh@noema.org> | 2021-09-02 17:04:05 +0000 |
---|---|---|
committer | yzrh <yzrh@noema.org> | 2021-09-02 17:04:05 +0000 |
commit | 86b6487fff9dc3151382f691d6f140cf35f678f9 (patch) | |
tree | 1e53cc4f2097161940ec648f273e9b9d51199b38 /src | |
parent | 409acceffa5698853dc63f143df960849be8dc32 (diff) | |
download | melon-86b6487fff9dc3151382f691d6f140cf35f678f9.tar.gz melon-86b6487fff9dc3151382f691d6f140cf35f678f9.tar.zst |
Remove -march=native in Makefile and remove char **envp for POSIX compliance.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 2 | ||||
-rw-r--r-- | src/melon.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile index ec98cf7..b300426 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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 diff --git a/src/melon.c b/src/melon.c index 9a90551..8741989 100644 --- a/src/melon.c +++ b/src/melon.c @@ -14,7 +14,7 @@ #include "version.h" int -main(int argc, char **argv, char **envp) +main(int argc, char **argv) { cnki_t *param = NULL; |