News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

PIC flags in configure

Started by afb, November 25, 2006, 11:03:55 AM

Previous topic - Next topic

afb

Which platforms needs the PIC flags hardcoded like this ?
CXXFLAGS="$CXXFLAGS $PCH_FLAGS -fPIC -DPIC"

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?
Be patient!
This bug will be fixed soon...

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?

On Fedora it appears twice for both.