[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r21705: {} A small patch to zlib's Makefile for Chumby related building (in projects/chumby: . patches)
Author: ioerror
Date: 2010-02-20 02:32:15 +0000 (Sat, 20 Feb 2010)
New Revision: 21705
Added:
projects/chumby/patches/
projects/chumby/patches/zlib-1.2.3.patch
Log:
A small patch to zlib's Makefile for Chumby related building
Added: projects/chumby/patches/zlib-1.2.3.patch
===================================================================
--- projects/chumby/patches/zlib-1.2.3.patch (rev 0)
+++ projects/chumby/patches/zlib-1.2.3.patch 2010-02-20 02:32:15 UTC (rev 21705)
@@ -0,0 +1,33 @@
+diff -u zlib-1.2.3/Makefile zlib-1.2.3-chumby-diff/Makefile
+--- zlib-1.2.3/Makefile 2005-07-17 19:25:21.000000000 -0700
++++ zlib-1.2.3-chumby-diff/Makefile 2010-02-19 18:28:22.000000000 -0800
+@@ -16,15 +16,15 @@
+ # To install in $HOME instead of /usr/local, use:
+ # make install prefix=$HOME
+
+-CC=cc
++CC=arm-none-linux-gnueabi-gcc
+
+-CFLAGS=-O
++CFLAGS=-O3 -DUSE_MMAP
+ #CFLAGS=-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7
+ #CFLAGS=-g -DDEBUG
+ #CFLAGS=-O3 -Wall -Wwrite-strings -Wpointer-arith -Wconversion \
+ # -Wstrict-prototypes -Wmissing-prototypes
+
+-LDFLAGS=libz.a
++LDFLAGS=-L. libz.a
+ LDSHARED=$(CC)
+ CPP=$(CC) -E
+
+@@ -33,8 +33,8 @@
+ SHAREDLIBV=libz.so.1.2.3
+ SHAREDLIBM=libz.so.1
+
+-AR=ar rc
+-RANLIB=ranlib
++AR=arm-none-linux-gnueabi-ar rc
++RANLIB=arm-none-linux-gnueabi-ranlib
+ TAR=tar
+ SHELL=/bin/sh
+ EXE=