summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2013-01-01 00:58:25 +0000
committermiod <miod@openbsd.org>2013-01-01 00:58:25 +0000
commit13c3ce6e255b1afc64a9e2645e7f2c5937817e0c (patch)
tree001c1e3a60e15d7572789e0771ec097e4baaa709
parentAdd a "memory" clobber to the flush_pipeline() assembly construct, to make sure (diff)
downloadwireguard-openbsd-13c3ce6e255b1afc64a9e2645e7f2c5937817e0c.tar.xz
wireguard-openbsd-13c3ce6e255b1afc64a9e2645e7f2c5937817e0c.zip
Remove unused XCPPFLAGS.
-rw-r--r--sys/lib/libsa/Makefile5
-rw-r--r--sys/lib/libsa/Makefile.inc3
2 files changed, 3 insertions, 5 deletions
diff --git a/sys/lib/libsa/Makefile b/sys/lib/libsa/Makefile
index 42a48bb4905..60016db30b2 100644
--- a/sys/lib/libsa/Makefile
+++ b/sys/lib/libsa/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.22 2005/05/24 22:25:46 millert Exp $
+# $OpenBSD: Makefile,v 1.23 2013/01/01 00:58:25 miod Exp $
# $NetBSD: Makefile,v 1.13 1996/10/02 16:19:51 ws Exp $
LIB= sa
@@ -12,9 +12,8 @@ DIR=${SAREL}${SADIR}
AFLAGS+=${XAFLAGS}
CFLAGS+=${XCFLAGS} -D_STANDALONE -DCOMPAT_UFS $(DEBUGFLAGS) -I${DIR} -I${DIR}/../..
#
-# Needed for PowerPC
+# Needed for alpha and macppc
CFLAGS+=$(EXTRACFLAGS)
-CPPFLAGS+=${XCPPFLAGS}
.if defined(USE_LOADFILE)
SRCS+= loadfile.c
diff --git a/sys/lib/libsa/Makefile.inc b/sys/lib/libsa/Makefile.inc
index 5aa8a259245..edb04814489 100644
--- a/sys/lib/libsa/Makefile.inc
+++ b/sys/lib/libsa/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.12 2003/06/01 17:00:32 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.13 2013/01/01 00:58:25 miod Exp $
# $NetBSD: Makefile.inc,v 1.5 1996/09/30 16:01:18 ws Exp $
#
# NOTE: $S must correspond to the top of the 'sys' tree
@@ -13,7 +13,6 @@ SAMAKE= \
CC="${CC}" XCFLAGS="${CFLAGS}" \
AS='${AS}' XAFLAGS='${AFLAGS}' \
LD='${LD}' \
- XCPPFLAGS="${CPPFLAGS}" \
SAREL="${SAREL}" \
SADIR="${SADIR}" \
EXTRACFLAGS="${EXTRACFLAGS}"