aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.bench.include
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2015-11-09 20:50:25 -0500
committerCory Fields <cory-nospam-@coryfields.com>2015-11-09 22:50:31 -0500
commit17c4d9d1647bbac4b0557136b1c3d98c951feb79 (patch)
tree52d40429bc8a781199595ee2a8cac6472163cb57 /src/Makefile.bench.include
parent503ff6e1ae6932b63892099b4c63e92a9263fed6 (diff)
build: Split hardening/fPIE options out
This allows for fPIE to be used selectively.
Diffstat (limited to 'src/Makefile.bench.include')
-rw-r--r--src/Makefile.bench.include4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.bench.include b/src/Makefile.bench.include
index 61fe9e287d..d660a3a747 100644
--- a/src/Makefile.bench.include
+++ b/src/Makefile.bench.include
@@ -9,7 +9,8 @@ bench_bench_bitcoin_SOURCES = \
bench/bench.h \
bench/Examples.cpp
-bench_bench_bitcoin_CPPFLAGS = $(BITCOIN_INCLUDES) $(EVENT_CLFAGS) $(EVENT_PTHREADS_CFLAGS) -I$(builddir)/bench/
+bench_bench_bitcoin_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(EVENT_CLFAGS) $(EVENT_PTHREADS_CFLAGS) -I$(builddir)/bench/
+bench_bench_bitcoin_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
bench_bench_bitcoin_LDADD = \
$(LIBBITCOIN_SERVER) \
$(LIBBITCOIN_COMMON) \
@@ -31,7 +32,6 @@ endif
bench_bench_bitcoin_LDADD += $(BOOST_LIBS) $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS) $(EVENT_PTHREADS_LIBS) $(EVENT_LIBS)
bench_bench_bitcoin_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
-
CLEAN_BITCOIN_BENCH = bench/*.gcda bench/*.gcno
CLEANFILES += $(CLEAN_BITCOIN_BENCH)