[or-cvs] r21706: {} A small patch to openssl's Makefile for Chumby related build (projects/chumby/patches)
Jacob Appelbaum
jacob at appelbaum.net
Sat Feb 20 03:01:47 UTC 2010
Author: ioerror
Date: 2010-02-20 03:01:46 +0000 (Sat, 20 Feb 2010)
New Revision: 21706
Added:
projects/chumby/patches/openssl-0.9.8l.patch
Log:
A small patch to openssl's Makefile for Chumby related building
Added: projects/chumby/patches/openssl-0.9.8l.patch
===================================================================
--- projects/chumby/patches/openssl-0.9.8l.patch (rev 0)
+++ projects/chumby/patches/openssl-0.9.8l.patch 2010-02-20 03:01:46 UTC (rev 21706)
@@ -0,0 +1,42 @@
+diff -u openssl-0.9.8l/Makefile openssl-0.9.8l-chumby-diff/Makefile
+--- openssl-0.9.8l/Makefile 2010-02-19 18:52:59.000000000 -0800
++++ openssl-0.9.8l-chumby-diff/Makefile 2010-02-19 18:52:25.000000000 -0800
+@@ -26,10 +26,10 @@
+ # for, say, /usr/ and yet have everything installed to /tmp/somedir/usr/.
+ # Normally it is left empty.
+ INSTALL_PREFIX=
+-INSTALLTOP=/usr/local/ssl
++INSTALLTOP=/usr/arm-linux/local/ssl
+
+ # Do not edit this manually. Use Configure --openssldir=DIR do change this!
+-OPENSSLDIR=/usr/local/ssl
++OPENSSLDIR=/usr/arm-linux/local/ssl
+
+ # NO_IDEA - Define to build without the IDEA algorithm
+ # NO_RC4 - Define to build without the RC4 algorithm
+@@ -59,20 +59,20 @@
+ # equal 4.
+ # PKCS1_CHECK - pkcs1 tests.
+
+-CC= gcc
++CC= arm-none-linux-gnueabi-gcc
+ CFLAG= -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DTERMIO -O3 -fomit-frame-pointer -Wall
+ DEPFLAG= -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_CAPIENG -DOPENSSL_NO_CMS -DOPENSSL_NO_GMP -DOPENSSL_NO_JPAKE -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_RFC3779 -DOPENSSL_NO_SEED
+ PEX_LIBS=
+ EX_LIBS= -ldl
+ EXE_EXT=
+ ARFLAGS=
+-AR=ar $(ARFLAGS) r
+-ARD=ar $(ARFLAGS) d
+-RANLIB= /usr/bin/ranlib
++AR=arm-none-linux-gnueabi-ar $(ARFLAGS) r
++ARD=arm-none-linux-gnueabi-ar $(ARFLAGS) d
++RANLIB= arm-none-linux-gnueabi-ranlib
+ PERL= /usr/bin/perl
+ TAR= tar
+ TARFLAGS= --no-recursion
+-MAKEDEPPROG= gcc
++MAKEDEPPROG= $(CC)
+
+ # We let the C compiler driver to take care of .s files. This is done in
+ # order to be excused from maintaining a separate set of architecture
More information about the tor-commits
mailing list