build(config): enable native/LTO flags, tune defaults, and ignore .conf files
This commit is contained in:
4
Makefile
4
Makefile
@@ -1,6 +1,6 @@
|
||||
CC := gcc
|
||||
CFLAGS := -O3 -Wall -Wextra -std=c11 -D_GNU_SOURCE -D_POSIX_C_SOURCE=200809L
|
||||
LDFLAGS := -pthread -lcrypto -lm
|
||||
CFLAGS := -O3 -march=native -mtune=native -flto -fomit-frame-pointer -DNDEBUG -Wall -Wextra -std=c11 -D_GNU_SOURCE -D_POSIX_C_SOURCE=200809L
|
||||
LDFLAGS := -pthread -lcrypto -lm -flto
|
||||
|
||||
COMMON_OBJS := config.o utils.o json.o rpc.o types.o block_builder.o miner.o mining_loop.o
|
||||
|
||||
|
||||
Reference in New Issue
Block a user