On 26.05.2014 09:26, Russell Senior wrote: > > At least on ar71xx, if libftdi finds Boost, it tries to compile C++ > libraries and dies horribly on some bogus looking assembler > instructions. Disabling boost allows libftdi to build. > > Signed-off-by: Russell Senior <russ...@personaltelco.net> > --- > libs/libftdi/Makefile | 2 +- > libs/libftdi/patches/200-disable_boost.patch | 11 +++++++++++ > 2 files changed, 12 insertions(+), 1 deletion(-) > create mode 100644 libs/libftdi/patches/200-disable_boost.patch > > diff --git a/libs/libftdi/Makefile b/libs/libftdi/Makefile > index 7bf5b2b..f35eb9d 100644 > --- a/libs/libftdi/Makefile > +++ b/libs/libftdi/Makefile > @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk > > PKG_NAME:=libftdi > PKG_VERSION:=0.19 > -PKG_RELEASE:=2 > +PKG_RELEASE:=3 > > PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz > PKG_SOURCE_URL:=http://www.intra2net.com/en/developer/libftdi/download/ > diff --git a/libs/libftdi/patches/200-disable_boost.patch > b/libs/libftdi/patches/200-disable_boost.patch > new file mode 100644 > index 0000000..677a281 > --- /dev/null > +++ b/libs/libftdi/patches/200-disable_boost.patch > @@ -0,0 +1,11 @@ > +--- a/ftdipp/CMakeLists.txt > ++++ b/ftdipp/CMakeLists.txt > +@@ -16,7 +16,7 @@ if (FTDIPP) > + set(cpp_headers ftdi.hpp) > + > + # Find Boost > +- find_package(Boost) > ++ # find_package(Boost) > + if(Boost_FOUND) > + set(FTDI_BUILD_CPP True PARENT_SCOPE) > + message(STATUS "Building libftdi++") >
alternatively deactivate building of libftdi++ during which the error happens fix obscure compile error with boost Signed-off-by: Dirk Neukirchen <dirkneukirc...@web.de> --- libs/libftdi/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/libftdi/Makefile b/libs/libftdi/Makefile index 7bf5b2b..5e686a9 100644 --- a/libs/libftdi/Makefile +++ b/libs/libftdi/Makefile @@ -34,6 +34,9 @@ define Package/libftdi/description The library is linked with your program in userspace, no kernel driver required. endef +CMAKE_OPTIONS+= \ + -DFTDIPP=OFF + define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/libftdi/ftdi.h $(1)/usr/include/ -- 2.0.0.rc4
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel