Subject: Re: CVS commit: basesrc
To: =?iso-8859-1?Q?Jarom=EDr_Dolecek?= <dolecek@ibis.cz>
From: Andrew Brown <atatat@atatdot.net>
List: tech-toolchain
Date: 11/14/2000 10:48:39
>>     if ${CC} -E endian-test.i >/dev/null 2>&1; then
>>         [...little-endian...]
>>     else
>>         [...big-endian...]
>>     fi
>
>Would it be desirable to put this into basesrc/etc/endian-test.i
>and add the check to Makefile ? Or is it better to add appropriate flag
>to individual basesrc/etc/etc.*/Makefile.inc ?

change '${CC}' to '${CC} -nostdinc -I${DESTDIR}/usr/include' and you
might be onto something.

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
andrew@crossbar.com       * "information is power -- share the wealth."