Subject: adding PIC flags
To: None <>
From: Dan McMahill <>
List: tech-pkg
Date: 03/24/2004 07:19:00
Whats the prefered way to properly add PIC flags to a pkgsrc
package now that pkgsrc works on multiple operating systems
and at least partially with compilers other than gcc?  Should
there be some sort of variable like 'USE_PIC' that will add
the right magic flags, '-fPIC -DPIC' for gcc, to CFLAGS and

Or should I libtoolize the package?