From ae183a1c12ff512647f2ceab3fc3c0eb30a95716 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 30 Nov 2010 19:45:03 +0000 Subject: Make THREADED_PERL=true work again (not enabled by default) --- gnu/usr.bin/perl/Makefile.bsd-wrapper | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gnu/usr.bin') diff --git a/gnu/usr.bin/perl/Makefile.bsd-wrapper b/gnu/usr.bin/perl/Makefile.bsd-wrapper index 9fd4a6fea18..27a1496b43c 100644 --- a/gnu/usr.bin/perl/Makefile.bsd-wrapper +++ b/gnu/usr.bin/perl/Makefile.bsd-wrapper @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.bsd-wrapper,v 1.83 2010/09/24 15:06:39 millert Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.84 2010/11/30 19:45:02 millert Exp $ # # Build wrapper for Perl 5.10.0 # @@ -23,6 +23,7 @@ CONFIGURE_ARGS= -dsE -Dopenbsd_distribution=defined .if defined(THREADED_PERL) && ($(THREADED_PERL) == true) CONFIGURE_ARGS+= -Dusethreads CFLAGS+= -pthread +LDFLAGS+= -pthread .endif .if !exists(${.OBJDIR}/config.over) CONFIGURE_ARGS+= -Dmksymlinks @@ -160,7 +161,7 @@ PICFLAG=-fPIC # The DynaLoader extension is now compiled statically into libperl miniperl: ${GENERATED} ${SRCS1:S/.c/.o/g} opmini.o miniperl.o miniperlmain.o - ${CC} -o miniperl ${SRCS1:S/.c/.o/g} opmini.o miniperl.o miniperlmain.o -lm + ${CC} -o miniperl ${SRCS1:S/.c/.o/g} opmini.o miniperl.o miniperlmain.o ${LDFLAGS} -lm opmini.c: op.c rm -f opmini.c -- cgit v1.2.3