Skip to content

Commit 2a39ac1

Browse files
Merge bitcoin-core/secp256k1#1185: Drop SECP_CONFIG_DEFINES from examples
2f9ca28 Drop `SECP_CONFIG_DEFINES` from examples (Hennadii Stepanov) Pull request description: User applications shouldn't need or rely on `SECP_CONFIG_DEFINES`. See bitcoin-core/secp256k1#1178 (comment). ACKs for top commit: sipa: utACK 2f9ca28 real-or-random: utACK 2f9ca28 Tree-SHA512: c8e81e6842b31e7f4ebcbb18d5962f7d7308f024025d6225330a7ec099739278bb43ad98243698c5802bcc49bf7e247ab7cae7f40008fbba87f0d0e46cbe1e85
2 parents 31ed538 + 2f9ca28 commit 2a39ac1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile.am

+3-3
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ endif
149149
if USE_EXAMPLES
150150
noinst_PROGRAMS += ecdsa_example
151151
ecdsa_example_SOURCES = examples/ecdsa.c
152-
ecdsa_example_CPPFLAGS = -I$(top_srcdir)/include $(SECP_CONFIG_DEFINES)
152+
ecdsa_example_CPPFLAGS = -I$(top_srcdir)/include
153153
ecdsa_example_LDADD = libsecp256k1.la
154154
ecdsa_example_LDFLAGS = -static
155155
if BUILD_WINDOWS
@@ -159,7 +159,7 @@ TESTS += ecdsa_example
159159
if ENABLE_MODULE_ECDH
160160
noinst_PROGRAMS += ecdh_example
161161
ecdh_example_SOURCES = examples/ecdh.c
162-
ecdh_example_CPPFLAGS = -I$(top_srcdir)/include $(SECP_CONFIG_DEFINES)
162+
ecdh_example_CPPFLAGS = -I$(top_srcdir)/include
163163
ecdh_example_LDADD = libsecp256k1.la
164164
ecdh_example_LDFLAGS = -static
165165
if BUILD_WINDOWS
@@ -170,7 +170,7 @@ endif
170170
if ENABLE_MODULE_SCHNORRSIG
171171
noinst_PROGRAMS += schnorr_example
172172
schnorr_example_SOURCES = examples/schnorr.c
173-
schnorr_example_CPPFLAGS = -I$(top_srcdir)/include $(SECP_CONFIG_DEFINES)
173+
schnorr_example_CPPFLAGS = -I$(top_srcdir)/include
174174
schnorr_example_LDADD = libsecp256k1.la
175175
schnorr_example_LDFLAGS = -static
176176
if BUILD_WINDOWS

0 commit comments

Comments
 (0)