aboutsummaryrefslogtreecommitdiff
path: root/package/botan/botan.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/botan/botan.mk')
-rw-r--r--package/botan/botan.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/package/botan/botan.mk b/package/botan/botan.mk
index f809aa2e0d..c3af4a45d8 100644
--- a/package/botan/botan.mk
+++ b/package/botan/botan.mk
@@ -18,14 +18,11 @@ BOTAN_CONF_OPTS = \
--os=linux \
--cc=gcc \
--cc-bin="$(TARGET_CXX)" \
- --ldflags="$(BOTAN_LDFLAGS)" \
--prefix=/usr \
--without-documentation
-BOTAN_LDFLAGS = $(TARGET_LDFLAGS)
-
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
-BOTAN_LDFLAGS += -latomic
+BOTAN_CONF_OPTS += --extra-libs=atomic
endif
ifeq ($(BR2_SHARED_LIBS),y)