Skip to content

Commit c0a555b

Browse files
committed
Bugfix: pass SECP_CONFIG_DEFINES to bench compilation
1 parent 01b819a commit c0a555b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile.am

+1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ if USE_BENCHMARK
105105
noinst_PROGRAMS += bench bench_internal bench_ecmult
106106
bench_SOURCES = src/bench.c
107107
bench_LDADD = libsecp256k1.la $(SECP_LIBS) $(SECP_TEST_LIBS) $(COMMON_LIB)
108+
bench_CPPFLAGS = $(SECP_CONFIG_DEFINES)
108109
bench_internal_SOURCES = src/bench_internal.c
109110
bench_internal_LDADD = $(SECP_LIBS) $(COMMON_LIB) $(PRECOMPUTED_LIB)
110111
bench_internal_CPPFLAGS = $(SECP_INCLUDES) $(SECP_CONFIG_DEFINES)

0 commit comments

Comments
 (0)