[Pkg-openssl-changes] r654 - openssl/trunk/debian

Kurt Roeckx kroeckx at moszumanska.debian.org
Mon Feb 24 23:39:02 UTC 2014


Author: kroeckx
Date: 2014-02-24 23:39:02 +0000 (Mon, 24 Feb 2014)
New Revision: 654

Modified:
   openssl/trunk/debian/changelog
   openssl/trunk/debian/rules
Log:
Add support for cross compiling (Closes: #465248)


Modified: openssl/trunk/debian/changelog
===================================================================
--- openssl/trunk/debian/changelog	2014-02-24 23:34:27 UTC (rev 653)
+++ openssl/trunk/debian/changelog	2014-02-24 23:39:02 UTC (rev 654)
@@ -13,8 +13,9 @@
     - Following patches have been partially applied upstream:
       libdoc-manpgs-pod-spell.patch, openssl-pod-misspell.patch
     - Remove openssl_fix_for_x32.patch, different patch applied upstream.
+  * Add support for cross compiling (Closes: #465248)
 
- -- Kurt Roeckx <kurt at roeckx.be>  Mon, 24 Feb 2014 21:00:20 +0100
+ -- Kurt Roeckx <kurt at roeckx.be>  Tue, 25 Feb 2014 00:36:51 +0100
 
 openssl (1.0.1f-1) unstable; urgency=high
 

Modified: openssl/trunk/debian/rules
===================================================================
--- openssl/trunk/debian/rules	2014-02-24 23:34:27 UTC (rev 653)
+++ openssl/trunk/debian/rules	2014-02-24 23:39:02 UTC (rev 654)
@@ -20,6 +20,12 @@
 DEB_HOST_MULTIARCH=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 DEB_HOST_ARCH_CPU=$(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
 
+DEB_HOST_GNU_TYPE=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+	export CROSS_COMPILE ?= $(DEB_HOST_GNU_TYPE)-
+endif
+
 CONFARGS  = --prefix=/usr --openssldir=/usr/lib/ssl --libdir=lib/$(DEB_HOST_MULTIARCH) no-idea no-mdc2 no-rc5 no-zlib  enable-tlsext no-ssl2
 OPT_alpha = ev4 ev5
 OPT_i386  = i586 i686/cmov




More information about the Pkg-openssl-changes mailing list