afb57df680
Also: Switch FreeBSD to use libgcc_s.so.1. Use dl_iterate_phdr to locate shared objects' exception frame info instead of depending on older register_frame_info machinery. This allows us to avoid depending on libgcc_s.so.1 in binaries that do not use exception handling directly. As an additional benefit it breaks circular libc <=> libgcc_s.so.1 dependency too. Build newly added libgomp.so.1 library, the runtime support bits for OpenMP. Build LGPLed libssp library. Our libc provides our own BSD-licensed SSP callbacks implementation, so this library is only built to benefit applications that have hadcoded knowledge of libssp.so and libssp_nonshared.a. When linked in from command line, these libraries override libc implementation.
27 lines
669 B
Makefile
27 lines
669 B
Makefile
# $FreeBSD$
|
|
|
|
#
|
|
# Make sure we will pick up our config.h file first, not the one from
|
|
# cc_tools.
|
|
#
|
|
CFLAGS+= -I${.CURDIR}
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
.PATH: ${GCCLIB}/libiberty
|
|
|
|
LIB= iberty
|
|
SRCS= argv.c choose-temp.c concat.c cp-demangle.c cp-demint.c cplus-dem.c \
|
|
dyn-string.c fibheap.c fopen_unlocked.c getpwd.c getruntime.c \
|
|
hashtab.c hex.c lbasename.c make-temp-file.c md5.c obstack.c \
|
|
partition.c pex-unix.c physmem.c safe-ctype.c splay-tree.c xexit.c \
|
|
xmalloc.c xmemdup.c xstrdup.c xstrerror.c make-relative-prefix.c \
|
|
pexecute.c pex-common.c pex-one.c lrealpath.c strverscmp.c \
|
|
regex.c
|
|
INTERNALLIB=
|
|
WARNS?= 1
|
|
|
|
CFLAGS+= -UPREFIX
|
|
|
|
.include <bsd.lib.mk>
|