diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2010-11-30 19:45:03 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2010-11-30 19:45:03 +0000 |
commit | ae183a1c12ff512647f2ceab3fc3c0eb30a95716 (patch) | |
tree | bcb825da3069926ba6f71f8daa056acc1dfab9e7 /gnu/usr.bin/perl | |
parent | 8abf2d4b6d86fdcfebde3540aae75743bc2951f0 (diff) |
Make THREADED_PERL=true work again (not enabled by default)
Diffstat (limited to 'gnu/usr.bin/perl')
-rw-r--r-- | gnu/usr.bin/perl/Makefile.bsd-wrapper | 5 |
1 files changed, 3 insertions, 2 deletions
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 |