- Fix for possible unset uid/gid in toproto - Fix for default mtree style - Update libelf - Importing libexecinfo - Resynchronize GCC, mpc, gmp, mpfr - build.sh: Replace params with show-params. This has been done as the make target has been renamed in the same way, while a new target named params has been added. This new target generates a file containing all the parameters, instead of printing it on the console. - Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org) get getservbyport() out of the inner loop Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
25 lines
765 B
Makefile
25 lines
765 B
Makefile
# $NetBSD: Makefile.common,v 1.4 2013/08/23 05:02:46 matt Exp $
|
|
|
|
DIST= ${NETBSDSRCDIR}/external/gpl3/gcc/dist
|
|
GNUHOSTDIST= ${DIST}
|
|
|
|
GCC_MACHINE_ARCH=${MACHINE_ARCH:S/earmv5/earm/}
|
|
|
|
LIBSTDCXXSRCS= ${G_SRC_SOURCES}
|
|
LIBSUPCXXSRCS= ${G_LIBSUPCXX_SOURCES} ${G_LIBSUPCXX_C_SOURCES}
|
|
|
|
CPPFLAGS+= -I${DIST}/gcc
|
|
CPPFLAGS+= -I${DIST}/include
|
|
CPPFLAGS+= -I${DIST}/libstdc++-v3/libsupc++
|
|
CPPFLAGS+= -I${.CURDIR}/../libstdc++-v3_4/arch/${GCC_MACHINE_ARCH} -I.
|
|
CPPFLAGS+= -DHAVE_STDLIB_H -DHAVE_STRING_H
|
|
|
|
.if defined(__MINIX)
|
|
CPPFLAGS+= -I${DESTDIR}/usr/include/g++
|
|
CPPFLAGS+= -I${DESTDIR}/usr/include/gcc-4.5
|
|
.endif #defined(__MINIX)
|
|
|
|
CPPFLAGS.cp-demangle.c=-DIN_GLIBCPP_V3
|
|
#CPPFLAGS.dyn-string.c=-DIN_GLIBCPP_V3
|
|
|
|
#BUILDSYMLINKS+= ${DIST}/libiberty/cp-demangle.c cxa_demangle.c
|