pkgsrc/lang/gcc7-libs/buildlink3.mk
adam c8e5fe5184 gcc7[-libs]: updated to 7.4.0
7.4.0:
Bug-fix release.
This [https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=7.4] is the list of problem reports (PRs) from GCC's bug tracking system that are known to be fixed in the 7.4 release. This list might not be complete (that is, it is possible that some PRs that have been fixed are not listed here).
2019-01-05 00:39:13 +00:00

46 lines
1.4 KiB
Makefile

# $NetBSD: buildlink3.mk,v 1.2 2019/01/05 00:39:13 adam Exp $
BUILDLINK_TREE+= gcc7-libs
.if !defined(GCC7_LIBS_BUILDLINK3_MK)
GCC7_LIBS_BUILDLINK3_MK:=
.if !empty(USE_PKGSRC_GCC_RUNTIME:M[Yy][Ee][Ss])
BUILDLINK_API_DEPENDS.gcc7-libs+= gcc7-libs>=7.4.0
.else
BUILDLINK_API_DEPENDS.gcc7-libs+= {gcc7,gcc7-libs}>=7.4.0
.endif
BUILDLINK_PKGSRCDIR.gcc7-libs= ../../lang/gcc7-libs
BUILDLINK_DEPMETHOD.gcc7-libs?= full
BUILDLINK_PASSTHRU_DIRS+= ${BUILDLINK_PREFIX.gcc7-libs}/gcc7
BUILDLINK_FILES.gcc7-libs= #empty
BUILDLINK_AUTO_VARS.gcc7-libs= no
.if !empty(USE_PKGSRC_GCC_RUNTIME:M[Yy][Ee][Ss])
# Use custom specs file to ensure we link against pkgsrc libraries.
SPECS_LIBGCC= ${WRAPPER_DIR}/specs.libgcc
WRAPPER_TARGETS+= ${SPECS_LIBGCC}
LIBGCC_SUBPREFIX= gcc7
LIBGCC_PREFIX= ${BUILDLINK_PREFIX.gcc7-libs}/${LIBGCC_SUBPREFIX}
GCC_TARGET_MACHINE?= ${MACHINE_GNU_PLATFORM}
${SPECS_LIBGCC}:
@${ECHO} "*link_libgcc:" >${SPECS_LIBGCC}
@${ECHO} "%D ${LINKER_RPATH_FLAG}${LIBGCC_PREFIX}/${GCC_TARGET_MACHINE}/lib/%M" >>${SPECS_LIBGCC}
_WRAP_EXTRA_ARGS.CC+= -specs=${SPECS_LIBGCC}
_WRAP_EXTRA_ARGS.CXX+= -specs=${SPECS_LIBGCC}
_WRAP_EXTRA_ARGS.FC+= -specs=${SPECS_LIBGCC}
CWRAPPERS_APPEND.cc+= -specs=${SPECS_LIBGCC}
CWRAPPERS_APPEND.cxx+= -specs=${SPECS_LIBGCC}
CWRAPPERS_APPEND.f77+= -specs=${SPECS_LIBGCC}
.endif
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.endif # GCC7_LIBS_BUILDLINK3_MK
BUILDLINK_TREE+= -gcc7-libs