87937c3ca2
Link with liblgcc_r when creating linuxthreads versions of shared libraries.
18 lines
461 B
Text
18 lines
461 B
Text
# $FreeBSD: /tmp/pcvs/ports/devel/linuxthreads/files/Makefile.libgcc_r,v 1.5 2003-06-09 00:25:04 tegge Exp $
|
|
|
|
PREFIX?= ${DESTDIR}/usr/local
|
|
LIBDIR= ${PREFIX:S,^${DESTDIR},,}/lib
|
|
|
|
CFLAGS+=-D_PTHREADS -I../
|
|
CFLAGS+=-I../sysdeps/i386 -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux
|
|
CXXFLAGS= ${CXXINCLUDES} ${CFLAGS:C/-std=[a-z:0-9]+//}
|
|
|
|
installincludes:
|
|
|
|
.include "Makefile.inc"
|
|
|
|
#
|
|
# Override various things that are set in the main Makefile.
|
|
#
|
|
|
|
.undef SUBDIR
|