summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/ospfd/Makefile
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2017-02-09 22:43:36 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2017-02-09 22:43:36 +0000
commita2da62a21bd92086a772d0787045020090d55249 (patch)
tree61350e7714eb18ed93cd2af9f6fbe4ba79a8f79e /regress/usr.sbin/ospfd/Makefile
parent597f5e1e6472e92d21d416e0f54d078c804d5d31 (diff)
Add defines that are needed to compile XS code with Perl 5.24.1.
Diffstat (limited to 'regress/usr.sbin/ospfd/Makefile')
-rw-r--r--regress/usr.sbin/ospfd/Makefile5
1 files changed, 3 insertions, 2 deletions
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 <bsd.regress.mk>