Subject: adding PIC flags
To: None <tech-pkg@netbsd.org>
From: Dan McMahill <dmcmahill@netbsd.org>
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
FFLAGS?

Or should I libtoolize the package?

-Dan

--