|
@@ -17,9 +17,16 @@ BOTAN_CONF_OPTS = \
|
|
--os=linux \
|
|
--os=linux \
|
|
--cc=gcc \
|
|
--cc=gcc \
|
|
--cc-bin="$(TARGET_CXX)" \
|
|
--cc-bin="$(TARGET_CXX)" \
|
|
|
|
+ --ldflags="$(BOTAN_LDFLAGS)" \
|
|
--prefix=/usr \
|
|
--prefix=/usr \
|
|
--without-documentation
|
|
--without-documentation
|
|
|
|
|
|
|
|
+BOTAN_LDFLAGS = $(TARGET_LDFLAGS)
|
|
|
|
+
|
|
|
|
+ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
|
|
|
+BOTAN_LDFLAGS += -latomic
|
|
|
|
+endif
|
|
|
|
+
|
|
ifeq ($(BR2_SHARED_LIBS),y)
|
|
ifeq ($(BR2_SHARED_LIBS),y)
|
|
BOTAN_CONF_OPTS += \
|
|
BOTAN_CONF_OPTS += \
|
|
--disable-static-library \
|
|
--disable-static-library \
|