From: Peter E. <pm...@hy...> - 2003-03-01 20:45:56
|
WIth this little patch is easy to switch gcc version. The the users can add its own preferences. On my system I have 3 versions of gcc. And guess Im not alone. diff Makefile Makefile.org 49,50c49,50 < HOSTCC := $(firstword $(CC) gcc) < HOSTCXX := $(firstword $(CXX) g++) --- > HOSTCC = gcc > HOSTCXX = g++ 152,154c152,154 < AS := $(firstword $(AS) $(CROSS_COMPILE)as) < LD := $(firstword $LD) $(CROSS_COMPILE)ld) < CC := $(firstword $(CC) $(CROSS_COMPILE)gcc) --- > AS = $(CROSS_COMPILE)as > LD = $(CROSS_COMPILE)ld > CC = $(CROSS_COMPILE)gcc 156,157c156,157 < AR := $firstword ($AR) $(CROSS_COMPILE)ar) < NM := $firstword $(NM) $(CROSS_COMPILE)nm) --- > AR = $(CROSS_COMPILE)ar > NM = $(CROSS_COMPILE)nm 162,163c162,163 < GENKSYMS := $(firstword $(GENSYMS) /sbin/genksyms) < DEPMOD := $(firstword $(DEPMOD) /sbin/depmod) --- > GENKSYMS = /sbin/genksyms > DEPMOD = /sbin/depmod 165c165 < PERL := $(firstword $(PERL) perl) --- > PERL = perl pescadero$ |