Deleted Added
full compact
Makefile (195151) Makefile (195152)
1# $FreeBSD: head/gnu/lib/libgcc/Makefile 195151 2009-06-28 23:51:39Z kan $
1# $FreeBSD: head/gnu/lib/libgcc/Makefile 195152 2009-06-29 01:33:59Z kan $
2GCCDIR= ${.CURDIR}/../../../contrib/gcc
3GCCLIB= ${.CURDIR}/../../../contrib/gcclibs
4
5LIB= gcc
6SHLIB_NAME= libgcc_s.so.1
7SHLIBDIR?= /lib
8
2GCCDIR= ${.CURDIR}/../../../contrib/gcc
3GCCLIB= ${.CURDIR}/../../../contrib/gcclibs
4
5LIB= gcc
6SHLIB_NAME= libgcc_s.so.1
7SHLIBDIR?= /lib
8
9#
10# libgcc is linked in last and thus cannot depend on ssp symbols coming
11# from earlier libraries. Disable stack protection for this library.
12#
13WITHOUT_SSP= yes
14
15.include <bsd.own.mk>
16.include "${.CURDIR}/../../usr.bin/cc/Makefile.tgt"
17
18.PATH: ${GCCDIR}/config/${GCC_CPU} ${GCCDIR}/config ${GCCDIR}
19
20CFLAGS+= -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED \
21 -DHAVE_GTHR_DEFAULT \
22 -I${GCCLIB}/include \
23 -I${GCCDIR}/config -I${GCCDIR} -I. \
24 -I${.CURDIR}/../../usr.bin/cc/cc_tools
25
26LDFLAGS+= -nodefaultlibs
9.include <bsd.own.mk>
10.include "${.CURDIR}/../../usr.bin/cc/Makefile.tgt"
11
12.PATH: ${GCCDIR}/config/${GCC_CPU} ${GCCDIR}/config ${GCCDIR}
13
14CFLAGS+= -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED \
15 -DHAVE_GTHR_DEFAULT \
16 -I${GCCLIB}/include \
17 -I${GCCDIR}/config -I${GCCDIR} -I. \
18 -I${.CURDIR}/../../usr.bin/cc/cc_tools
19
20LDFLAGS+= -nodefaultlibs
27LDADD+= -lc -lssp_nonshared
21LDADD+= -lc
28
29OBJS= # added to below in various ways depending on TARGET_ARCH
30
31#---------------------------------------------------------------------------
32#
33# When upgrading GCC, get the following defintions straight from Makefile.in
34#
35# Library members defined in libgcc2.c.

--- 319 unchanged lines hidden ---
22
23OBJS= # added to below in various ways depending on TARGET_ARCH
24
25#---------------------------------------------------------------------------
26#
27# When upgrading GCC, get the following defintions straight from Makefile.in
28#
29# Library members defined in libgcc2.c.

--- 319 unchanged lines hidden ---