Skip to content

Commit

Permalink
build: Do not export symbols from compiled ARM assembly
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Mar 13, 2023
1 parent 427bc3c commit 5fef714
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ libsecp256k1_la_SOURCES = src/secp256k1.c
libsecp256k1_la_CPPFLAGS = $(SECP_CONFIG_DEFINES)
libsecp256k1_la_LIBADD = $(COMMON_LIB) $(PRECOMPUTED_LIB)
libsecp256k1_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_CURRENT):$(LIB_VERSION_REVISION):$(LIB_VERSION_AGE)
if USE_ASM_ARM
libsecp256k1_la_LDFLAGS += -Wl,--exclude-libs,libsecp256k1_common.a
endif

noinst_PROGRAMS =
if USE_BENCHMARK
Expand Down

0 comments on commit 5fef714

Please sign in to comment.