Allow builder to configure CXXFLAGS
This commit is contained in:
parent
7cccaba343
commit
aeca08d112
1 changed files with 4 additions and 2 deletions
6
Makefile
6
Makefile
|
@ -1,10 +1,12 @@
|
|||
CXXFLAGS = -O2 -ggdb3 -march=nocona
|
||||
|
||||
dnsseed: dns.o bitcoin.o netbase.o protocol.o db.o main.o util.o
|
||||
g++ -pthread -o dnsseed dns.o bitcoin.o netbase.o protocol.o db.o main.o util.o -lcrypto
|
||||
|
||||
%.o: %.cpp bitcoin.h netbase.h protocol.h db.h serialize.h uint256.h util.h
|
||||
g++ -DUSE_IPV6 -pthread -O2 -ggdb3 -march=nocona -Wno-invalid-offsetof -c -o $@ $<
|
||||
g++ -DUSE_IPV6 -pthread $(CXXFLAGS) -Wno-invalid-offsetof -c -o $@ $<
|
||||
|
||||
dns.o: dns.c
|
||||
gcc -pthread -std=c99 -O2 -ggdb3 -march=nocona dns.c -c -o dns.o
|
||||
gcc -pthread -std=c99 $(CXXFLAGS) dns.c -c -o dns.o
|
||||
|
||||
%.o: %.cpp
|
||||
|
|
Loading…
Reference in a new issue