Allow builder to configure CXXFLAGS

This commit is contained in:
Luke Dashjr 2012-06-03 15:33:21 +00:00
parent 7cccaba343
commit aeca08d112

View file

@ -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