summaryrefslogtreecommitdiff
path: root/package/pcmciautils/patches/patch-Makefile
blob: 313c2bb842b1cb14e42f2f9e2c697f61a6c186b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- pcmciautils-017.orig/Makefile	2010-01-06 16:47:45.000000000 +0100
+++ pcmciautils-017/Makefile	2010-05-29 17:15:03.515625000 +0200
@@ -94,12 +94,13 @@ PWD = $(shell pwd)
 # If you are running a cross compiler, you may want to set this
 # to something more interesting, like "arm-linux-".  If you want
 # to compile vs uClibc, that can be done here as well.
-CROSS = #/usr/i386-linux-uclibc/usr/bin/i386-uclibc-
+CROSS ?= #/usr/i386-linux-uclibc/usr/bin/i386-uclibc-
 CC = $(CROSS)gcc
 LD = $(CROSS)gcc
 AR = $(CROSS)ar
 STRIP = $(CROSS)strip
 RANLIB = $(CROSS)ranlib
+LEX = flex
 HOSTCC = gcc
 
 export CROSS CC AR STRIP RANLIB CFLAGS LDFLAGS LIB_OBJS ARCH_LIB_OBJS CRT0