[ccache] gcc -g and ccache

Adam Schrotenboer adam at m2000.com
Mon Jun 23 00:09:16 GMT 2008


Adam Schrotenboer wrote:
>> Hi All
>>
>> I have found that g++ (4.1 in my case)  with debug info flag (-g)
>> insert directory of the source file in preprocessor output (second line of
>> the example)
>>   
>>     
>
>
> I'd like to confirm that this seems to be an issue for my employer as well.
I believe I found a solution:

Add this to CFLAGS: -fno-working-directory

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.samba.org/archive/ccache/attachments/20080622/7ab9edf2/signature.bin


More information about the ccache mailing list