Revision e1191012

View differences:

configure
1737 1737
check_ldflags -Wl,--warn-common
1738 1738
check_ldflags $LDLATEFLAGS
1739 1739
check_ldflags -Wl,-Bsymbolic
1740
check_ldflags -Wl,-z,nocopyreloc
1740 1741

  
1741 1742
if enabled small; then
1742 1743
    check_cflags -Os            # not all compilers support -Os
......
1752 1753

  
1753 1754
# PIC flags for shared library objects where they are needed
1754 1755
if enabled shared; then
1755
    # LIBOBJFLAGS may have already been set in the OS configuration
1756
    if test -z "$LIBOBJFLAGS" ; then
1757
        case "$arch" in
1758
            x86_64|ia64|alpha|sparc*|power*) LIBOBJFLAGS='$(PIC)' ;;
1759
        esac
1760
    fi
1756
    case "$arch" in
1757
        x86_64|ia64|alpha|sparc*|power*) add_cflags '\$(PIC)' ;;
1758
    esac
1761 1759
fi
1762 1760

  
1763 1761
if enabled gprof; then

Also available in: Unified diff