[OpenAFS] How to set CFLAGS for OpenAFS?

Dale Ghent daleg@umbc.edu
Tue, 10 Aug 2004 14:38:09 -0400


On Aug 9, 2004, at 5:02 PM, Evan Knop wrote:

> I'm trying to build OpenAFS with a certain set of CFLAGS.  Is there a 
> string I can pass to configure to add something to the CFLAGS for each 
> directory (in this case, its -fPIC so the .a files can be linked into 
> a .so library for PAM on x86_64/amd64).

export a CFLAGS environment variable before you run ./configure.

bash example:

CFLAGS="-fPIC" ./configure .....

or tcsh:

setenv CFLAGS '-fPIC'
./configure ....

/dale

Dale Ghent - UNIX Systems Specialist
UMBC Office of Information Technology
ECS201 - x58205 -  daleg [] umbc ! edu