1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/devel/linuxthreads/files/Makefile.libgcc_r
Jason Evans fbdae04681 Rather than copying the entirety of src/gnu/lib/libgcc/Makefile, .include it
and override variables as necessary.  This vastly shortens this file, makes
tracking toolchain changes more automatic, and makes the linuxthreads port
build on both -stable and -current.
2000-07-12 01:43:01 +00:00

19 lines
375 B
Makefile

# $FreeBSD: /tmp/pcvs/ports/devel/linuxthreads/files/Makefile.libgcc_r,v 1.2 2000-07-12 01:43:01 jasone Exp $
DESTDIR=/usr/local/
LIBDIR= lib/
CFLAGS+=-D_PTHREADS -I../
.include "/usr/src/gnu/lib/libgcc/Makefile"
#
# Override various things that are set in the main Makefile.
#
GCCDIR:=$(GCCDIR:T:S/^/\/usr\/src\/contrib\/&/)
LIB= lgcc_r
.PATH: ${GCCDIR}/cp ${GCCDIR}