From a2da62a21bd92086a772d0787045020090d55249 Mon Sep 17 00:00:00 2001 From: Alexander Bluhm Date: Thu, 9 Feb 2017 22:43:36 +0000 Subject: Add defines that are needed to compile XS code with Perl 5.24.1. --- regress/usr.sbin/ospfd/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'regress/usr.sbin/ospfd/Makefile') diff --git a/regress/usr.sbin/ospfd/Makefile b/regress/usr.sbin/ospfd/Makefile index 45abbc16e0d..b829bbdc296 100644 --- a/regress/usr.sbin/ospfd/Makefile +++ b/regress/usr.sbin/ospfd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2016/09/28 12:40:35 bluhm Exp $ +# $OpenBSD: Makefile,v 1.7 2017/02/09 22:43:35 bluhm Exp $ # The following ports must be installed for the regression tests: # p5-AnyEvent provide framework for multiple event loops @@ -93,7 +93,8 @@ stamp-passfd: PassFd.so .xs.so: xsubpp -prototypes $> >${@:S/.so$/.c/} - gcc -shared -Wall -I${PERLHEADER} -o $@ ${@:S/.so$/.c/} + gcc -shared -Wall -DNO_LOCALE_NUMERIC -DNO_LOCALE_COLLATE\ + -I${PERLHEADER} -o $@ ${@:S/.so$/.c/} perl ${PERLINC} -M${@:R} -e '' .include -- cgit v1.2.3