pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/pkgtools/bootstrap-mk-files



On Thu, May 13, 2010 at 1:50 AM, Tobias Nygren <tnn%netbsd.org@localhost> wrote:
> On Wed, 12 May 2010 20:57:46 +0000
> Tim Zingelman <tez%netbsd.org@localhost> wrote:
>
>> Modified Files:
>>       pkgsrc/pkgtools/bootstrap-mk-files: Makefile
>>       pkgsrc/pkgtools/bootstrap-mk-files/files/mods: SunOS.sys.mk
>>
>> Log Message:
>> In SunOS, use cpp rather than ${CC} -E, as gcc -E is broken.
>>
>> If /usr/ucb/lib/cpp is in the path before gnu cpp this could break things
>> but that is not an expected situation.  The only executable in /usr/ucb/lib
>> is cpp, so there is no other reason to add it to the path.
>>
>> This should fix PR#42624
>
> This might cause regressions when using SUNpro.
> We really should do CPP initialisation in mk/compiler instead.
>

The commit message was too short... to clarify it only uses ccp rather
than ${CC} -E when CC is defined as gcc.  But if there is a better
place to do this, that is fine with me.

 - Tim


Home | Main Index | Thread Index | Old Index