From 0fa90ef5f7b1fd23b3a94fe66701c8807bb0df74 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Wed, 8 Jun 2016 14:33:08 +0200 Subject: libcryptopp: update to latest 5.6.3 Signed-off-by: Marcel Ziswiler Acked-by: Max Krummenacher --- .../0001-Fix-cross-compilation.patch | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 recipes-support/libcryptopp/libcryptopp-5.6.3/0001-Fix-cross-compilation.patch (limited to 'recipes-support/libcryptopp/libcryptopp-5.6.3/0001-Fix-cross-compilation.patch') diff --git a/recipes-support/libcryptopp/libcryptopp-5.6.3/0001-Fix-cross-compilation.patch b/recipes-support/libcryptopp/libcryptopp-5.6.3/0001-Fix-cross-compilation.patch new file mode 100644 index 0000000..d69e12d --- /dev/null +++ b/recipes-support/libcryptopp/libcryptopp-5.6.3/0001-Fix-cross-compilation.patch @@ -0,0 +1,39 @@ +From 1306eabf258f0e9ce8586b7816406a21683d529d Mon Sep 17 00:00:00 2001 +From: Marcel Ziswiler +Date: Wed, 8 Jun 2016 14:23:29 +0200 +Subject: [PATCH] Fix cross compilation + +Signed-off-by: Marcel Ziswiler +--- + GNUmakefile | 15 --------------- + 1 file changed, 15 deletions(-) + +diff --git a/GNUmakefile b/GNUmakefile +index 3bc76a4..f71d990 100755 +--- a/GNUmakefile ++++ b/GNUmakefile +@@ -73,21 +73,6 @@ ifneq ($(IS_X86_64),0) + endif + endif + +-# Guard use of -march=native +-ifeq ($(GCC_COMPILER),0) +- CXXFLAGS += -march=native +-else ifneq ($(GCC42_OR_LATER),0) +- CXXFLAGS += -march=native +-else +- # GCC 3.3 and "unknown option -march=" +- # GCC 4.1 compiler crash with -march=native. +- ifneq ($(IS_X86_64),0) +- CXXFLAGS += -m64 +- else +- CXXFLAGS += -m32 +- endif # X86/X32/X64 +-endif +- + # Aligned access required at -O3 for GCC due to vectorization (circa 08/2008). Expect other compilers to do the same. + UNALIGNED_ACCESS := $(shell $(EGREP) -c "^[[:space:]]*//[[:space:]]*\#[[:space:]]*define[[:space:]]*CRYPTOPP_NO_UNALIGNED_DATA_ACCESS" config.h) + ifeq ($(findstring -O3,$(CXXFLAGS)),-O3) +-- +2.5.5 + -- cgit v1.2.3