summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-08-31 04:08:31 +0000
committerderaadt <deraadt@openbsd.org>2015-08-31 04:08:31 +0000
commit8e9406be0433713ea7ffa54da55fbd847c085e6f (patch)
treec9f1dc35c67302bd1de6b2ca39279c5ed7c8be11
parentAdd efifb(4) man page. (diff)
downloadwireguard-openbsd-8e9406be0433713ea7ffa54da55fbd847c085e6f.tar.xz
wireguard-openbsd-8e9406be0433713ea7ffa54da55fbd847c085e6f.zip
add -I${LIBCSRCDIR}/hidden to handle _glibc_ churn
-rw-r--r--distrib/special/libstubs/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/distrib/special/libstubs/Makefile b/distrib/special/libstubs/Makefile
index e421c023896..7814d6ab5fc 100644
--- a/distrib/special/libstubs/Makefile
+++ b/distrib/special/libstubs/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.14 2014/01/11 03:35:57 deraadt Exp $
+# $OpenBSD: Makefile,v 1.15 2015/08/31 04:08:31 deraadt Exp $
.include <bsd.own.mk>
LIB= stubs
@@ -29,11 +29,12 @@ SRCS+= asr.c \
NOPIC= Yes
NOPROFILE=Yes
-CFLAGS+=-D__DBINTERFACE_PRIVATE -DSHA2_SMALL -UYP -I${LIBCSRCDIR}/include \
- -DNO_LOG_BAD_DNS_RESPONSES -I${LIBCSRCDIR}/locale \
- -I${LIBCSRCDIR}/gdtoa -I${LIBCSRCDIR}/arch/${MACHINE_CPU}/gdtoa \
- -I${LIBCSRCDIR}/stdio -DFLOATING_POINT
-CFLAGS+=-I${LIBCSRCDIR}/asr -DASRNODEBUG
+CFLAGS+=-D__DBINTERFACE_PRIVATE -DSHA2_SMALL -UYP -DNO_LOG_BAD_DNS_RESPONSES \
+ -DFLOATING_POINT -DASRNODEBUG \
+ -I${LIBCSRCDIR}/include -I${LIBCSRCDIR}/hidden \
+ -I${LIBCSRCDIR}/asr -I${LIBCSRCDIR}/locale -I${LIBCSRCDIR}/gdtoa \
+ -I${LIBCSRCDIR}/arch/${MACHINE_CPU}/gdtoa -I${LIBCSRCDIR}/stdio
+CFLAGS+=
LIBCSRCDIR=${.CURDIR}/../../../lib/libc