Browse Source

Merge pull request #1 from luke-jr/cxxflags

Allow builder to configure CXXFLAGS
pull/1/head
Pieter Wuille 13 years ago
parent
commit
192bf41193
  1. 6
      Makefile

6
Makefile

@ -1,10 +1,12 @@ @@ -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…
Cancel
Save