Project

General

Profile

Bug #2021 ยป gcc-fpic.patch

ftigeot, 03/07/2011 12:50 AM

View differences:

gnu/lib/csu/Makefile.csu
CFLAGS+= -finhibit-size-directive -fno-inline-functions \
-fno-exceptions -fno-zero-initialized-in-bss \
-fno-omit-frame-pointer -fno-unit-at-a-time \
-fno-asynchronous-unwind-tables
-fno-asynchronous-unwind-tables -fpic -DPIC
CFLAGS+= -I.
CRTS_CFLAGS= -DCRTSTUFFS_O -DSHARED ${PICFLAG}
lib/csu/x86_64/Makefile.csu
WARNS?= 2
CFLAGS+= -I${CSUDIR}/../common \
-I${CSUDIR}/../../libc/include
-I${CSUDIR}/../../libc/include -fpic -DPIC
.PATH: ${CSUDIR} ${CSUDIR}/../common
    (1-1/1)