summaryrefslogtreecommitdiff
path: root/recipes-support/libcryptopp/libcryptopp-5.6.3
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-support/libcryptopp/libcryptopp-5.6.3')
-rw-r--r--recipes-support/libcryptopp/libcryptopp-5.6.3/0001-Fix-cross-compilation.patch39
-rw-r--r--recipes-support/libcryptopp/libcryptopp-5.6.3/makefile_fix_destdir.patch30
2 files changed, 0 insertions, 69 deletions
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
deleted file mode 100644
index d69e12d..0000000
--- a/recipes-support/libcryptopp/libcryptopp-5.6.3/0001-Fix-cross-compilation.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 1306eabf258f0e9ce8586b7816406a21683d529d Mon Sep 17 00:00:00 2001
-From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-Date: Wed, 8 Jun 2016 14:23:29 +0200
-Subject: [PATCH] Fix cross compilation
-
-Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
----
- 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
-
diff --git a/recipes-support/libcryptopp/libcryptopp-5.6.3/makefile_fix_destdir.patch b/recipes-support/libcryptopp/libcryptopp-5.6.3/makefile_fix_destdir.patch
deleted file mode 100644
index 9d57fe3..0000000
--- a/recipes-support/libcryptopp/libcryptopp-5.6.3/makefile_fix_destdir.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -Nurd libcryptopp2/GNUmakefile libcryptopp/GNUmakefile
---- libcryptopp2/GNUmakefile 2013-02-20 15:30:52.000000000 +0100
-+++ libcryptopp/GNUmakefile 2013-12-01 20:58:53.774735203 +0100
-@@ -148,17 +148,17 @@
- -$(RM) cryptest.exe libcryptopp.a libcryptopp.so $(LIBOBJS) $(TESTOBJS) cryptopp.dll libcryptopp.dll.a libcryptopp.import.a cryptest.import.exe dlltest.exe $(DLLOBJS) $(LIBIMPORTOBJS) $(TESTI MPORTOBJS) $(DLLTESTOBJS)
-
- install:
-- $(MKDIR) -p $(PREFIX)/include/cryptopp $(PREFIX)/lib $(PREFIX)/bin
-- -$(CP) *.h $(PREFIX)/include/cryptopp
-- -$(CP) *.a $(PREFIX)/lib
-- -$(CP) *.so $(PREFIX)/lib
-- -$(CP) *.exe $(PREFIX)/bin
-+ $(MKDIR) -p $(DESTDIR)$(PREFIX)/include/cryptopp $(DESTDIR)$(PREFIX)/lib $(DESTDIR)$(PREFIX)/bin
-+ -$(CP) *.h $(DESTDIR)$(PREFIX)/include/cryptopp
-+ -$(CP) *.a $(DESTDIR)$(PREFIX)/lib
-+ -$(CP) *.so $(DESTDIR)$(PREFIX)/lib
-+ -$(CP) *.exe $(DESTDIR)$(PREFIX)/bin
-
- remove:
-- -$(RM) -rf $(PREFIX)/include/cryptopp
-- -$(RM) $(PREFIX)/lib/libcryptopp.a
-- -$(RM) $(PREFIX)/lib/libcryptopp.so
-- -$(RM) $(PREFIX)/bin/cryptest.exe
-+ -$(RM) -rf $(DESTDIR)$(PREFIX)/include/cryptopp
-+ -$(RM) $(DESTDIR)$(PREFIX)/lib/libcryptopp.a
-+ -$(RM) $(DESTDIR)$(PREFIX)/lib/libcryptopp.so
-+ -$(RM) $(DESTDIR)$(PREFIX)/bin/cryptest.exe
-
- libcryptopp.a: $(LIBOBJS)
- $(AR) $(ARFLAGS) $@ $(LIBOBJS)