Sorry, I've made a mistake on the sed command: sed is get garbled if the 
CC make variable is a full path (like /my/path/to/gcc).

So have to use something else than '/' as sed separator, like '|' : 
please see below for the fix (I've tested it).

Regards,

Pierre Bourgin

Juan Jose Pablos a écrit :
> Commit in *unattended/linuxboot* on MAIN
> Makefile <#file1>     +46     -35     1.211 -> 1.212
> 
>     * FIXME configure loading emacs shared files from system <#task1>
> 
> use-CC-and-CXX variables. Thanks to Pierre Bourgin
> 
> ------------------------------------------------------------------------
> unattended/linuxboot
> *Makefile* 1.211 -> 1.212
> 
> diff -u -r1.211 -r1.212
> --- Makefile  16 Mar 2009 17:27:16 -0000      1.211
> +++ Makefile  24 Mar 2009 13:31:03 -0000      1.212
> @@ -51,6 +51,7 @@
> 
>       $(samba) $(slang) $(syslinux) $(wireless_tools) $(zlib)
>  
>  CC=gcc
> 
> +CXX=g++
> 

[...]
> @@ -299,12 +302,17 @@
> 
>  
>  stage1 += stage1/lib/libuuid.so
>  
> 
> +$(glibc)/.stamp-glibc-gen-translit.pl-patch:
> +     sed -ie "s/ gcc -E / $(CC) -E /" $(glibc)/locale/gen-translit.pl

        sed -ie "s| gcc -E | $(CC) -E |" $(glibc)/locale/gen-translit.pl

[...]

# end

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
unattended-devel mailing list
unattended-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to