Module Name:    src
Committed By:   christos
Date:           Wed Oct  2 18:25:43 UTC 2013

Modified Files:
        src/external/gpl3/gcc/lib/libgcc/libgcc: Makefile

Log Message:
If building with MKPIC=no, then set PICFLAGS to empty, otherwise bsd.lib.mk
sets PICFLAGS=-fPIC and we pick this via CSHLIBFLAGS to build .o objects.
This breaks the sun2 port, because with -fPIC we end up producing short
relative pic branches for $_exception_handler, so we get relocation errors.
Arguably:
        1. MKPIC=no should not set PICFLAGS in bsd.lib.mk
        2. CSHLIBFLAGS should not be used in non pic (.o) productions


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gcc/lib/libgcc/libgcc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to