Fabian Greffrath <[EMAIL PROTECTED]> writes:

> I fear you are confused by the build logs. The build is run twice, 
> once for the static libraries (without -FPIC -DPIC) and then again for 
> the shared libraries (With -fPIC -DPIC).
> I have checked the logs for some other archs and they all get the 
> right flags in the second build - all but hppa.

Maybe this part of configure (line 1815ff) is the culprit?

# PIC flags for shared library objects where they are needed
if enabled shared; then
    # LIBOBJFLAGS may have already been set in the OS configuration
    if test -z "$LIBOBJFLAGS" ; then
        case "$arch" in
            x86_64|ia64|alpha|sparc*|power*) LIBOBJFLAGS='$(PIC)' ;;
        esac
    fi
fi


I wonder why mipsen don't show the same problem, though. Maybe they have
no problem with non-pic code in libraries as i386 has? in that case, the
solution would be obvious: adding hppa to the quoted list...

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to