[Build-common-hackers] Bug#452361: please include '-fPIC' in standard CFLAGS

Fabian Greffrath greffrath at leat.rub.de
Thu Nov 22 08:04:51 UTC 2007

Package: cdbs
Version: 0.4.50
Severity: wishlist

Dear cdbs-developers,

I have observed several times that shared libraries build without PIC 
code if the compiler is not run with the optional '-fPIC'. Lintian then 
throws the following error:

Simply adding
in debian/rules often solves the problem.

I don't know if this option is dangerous for static objects, but if not, 
please consider including it in the standard CFLAGS.

Thank you!


More information about the Build-common-hackers mailing list