Commit ba6633be authored by Karel Slaný's avatar Karel Slaný

Explicitly disabling LTO when building static libunbound.

parent 6f35f281
......@@ -146,7 +146,7 @@ built-unbound-32-stamp: srcs-unbound-32-stamp libs-built-32-stamp built-openssl-
-rm -rf libs-built-32/unbound
$(INSTALL) -d libs-built-32/unbound
(cd libs-srcs-32/unbound && $(CROSSCOMPILE_PREPARATION_EXPORTS) \
CFLAGS="$(LIB_CFLAGS_32)" ./configure --disable-shared $(CROSSCOMPILE_HOST_FLAGS) \
CFLAGS="$(LIB_CFLAGS_32)" ./configure --disable-flto --disable-shared $(CROSSCOMPILE_HOST_FLAGS) \
--with-ssl="$(abs_builddir)/libs-built-32/openssl" \
--with-ldns="$(abs_builddir)/libs-built-32/ldns" --without-libevent \
--with-pic --prefix="$(abs_builddir)/libs-built-32/unbound" $(CONFIGURE_ARGS) \
......@@ -159,7 +159,7 @@ built-unbound-64-stamp: srcs-unbound-64-stamp libs-built-64-stamp built-openssl-
-rm -rf libs-built-64/unbound
$(INSTALL) -d libs-built-64/unbound
(cd libs-srcs-64/unbound && $(CROSSCOMPILE_PREPARATION_EXPORTS) \
CFLAGS="$(LIB_CFLAGS_64)" ./configure --disable-shared $(CROSSCOMPILE_HOST_FLAGS) \
CFLAGS="$(LIB_CFLAGS_64)" ./configure --disable-flto --disable-shared $(CROSSCOMPILE_HOST_FLAGS) \
--with-ssl="$(abs_builddir)/libs-built-64/openssl" \
--with-ldns="$(abs_builddir)/libs-built-64/ldns" --without-libevent \
--with-pic --prefix="$(abs_builddir)/libs-built-64/unbound" $(CONFIGURE_ARGS) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment