mirror of
https://github.com/opnsense/src.git
synced 2026-02-11 14:55:36 -05:00
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.
24 lines
538 B
Makefile
24 lines
538 B
Makefile
# $FreeBSD$
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
.PATH: ${GCCDIR}/config/${GCC_CPU}
|
|
|
|
.if ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "amd64"
|
|
INCS= emmintrin.h mmintrin.h pmmintrin.h xmmintrin.h mm_malloc.h
|
|
.elif ${TARGET_ARCH} == "ia64"
|
|
INCS= ia64intrin.h
|
|
.elif ${TARGET_ARCH} == "arm"
|
|
INCS= mmintrin.h
|
|
.elif ${TARGET_ARCH} == "powerpc"
|
|
INCS= ppc-asm.h altivec.h spe.h
|
|
.endif
|
|
|
|
mm_malloc.h: pmm_malloc.h
|
|
@rm -rf ${.TARGET}
|
|
@cp ${.ALLSRC} ${.TARGET}
|
|
CLEANFILES+= mm_malloc.h
|
|
|
|
.include <bsd.init.mk>
|
|
.include <bsd.incs.mk>
|
|
.include <bsd.obj.mk>
|