Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

PIC flags in configure

(1/1)

afb:
Which platforms needs the PIC flags hardcoded like this ?

--- Code: ---CXXFLAGS="$CXXFLAGS $PCH_FLAGS -fPIC -DPIC"
--- End code ---

On Mac OS X -fPIC is the default anyway, and on Linux (Fedora)
I get both flags twice (once from autoconf and once hardcoded)

mandrav:
Hmm, it doesn't appear twice for files in sdk/scripting but it does for sdk/*. Will you have a look at the Makefile.am files and see what's different?

afb:
Will do.

BTW: the main reason for looking into this is that -fPIC breaks the build on Solaris

afb:

--- Quote from: mandrav on November 25, 2006, 12:16:12 pm ---Hmm, it doesn't appear twice for files in sdk/scripting but it does for sdk/*. Will you have a look at the Makefile.am files and see what's different?

--- End quote ---

On Fedora it appears twice for both.

Navigation

[0] Message Index

Go to full version