ports/devel/linuxthreads/files/Makefile.libgcc_r
Pav Lucistnik efcc47c1e7 - Fix build on CURRENT with GCC 4.2
Submitted by:	tegge (maintainer)
2007-07-03 08:38:00 +00:00

22 lines
569 B
Text

# $FreeBSD: /tmp/pcvs/ports/devel/linuxthreads/files/Makefile.libgcc_r,v 1.6 2007-07-03 08:38:00 pav Exp $
PREFIX?= ${DESTDIR}/usr/local
LIBDIR= ${PREFIX:S,^${DESTDIR},,}/lib
SHLIBDIR= ${PREFIX:S,^${DESTDIR},,}/lib
.if defined(USING_GCC4)
INSTALL_PIC_ARCHIVE=yes
.endif
CFLAGS+=-D_PTHREADS -I../ -D__USE_UNIX98
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