pkgsrc-Users archive

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

Re: lang/clang build problem?



On 10/11/15 18:35, Richard PALO wrote:
[---]
>> Can you double check if it is using "-g" during the build? It should not
>> since the build is optimized, but if such flags leak into the build by
>> other means, it would certainly not be very surprising.
> 
> Ah, that's it..I totally forgot about a line I gleaned over a year ago from Joyent
> and put into my shared mk.conf
>> BUILDLINK_TRANSFORM+=  opt:-fomit-frame-pointer:-g
[---]

   Well I'll be..  I had been debugging an issue with net-snmp and I had
enabled "-g" in mk.conf.

> sorry for the noise, I guess.

   I concur.

   Note to self:  Make a cron job which reverts these kinds of temporary
hacks every night.

   /Jan



Home | Main Index | Thread Index | Old Index