summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2002-12-03 10:44:34 +0000
committermiod <miod@openbsd.org>2002-12-03 10:44:34 +0000
commitfdee4d3a9f8e67966430c28a3cf2b11590fa2471 (patch)
tree5d8e297dae88f407478e235bed826c5f98b16e8b
parentCrank all library major numbers. Needed due to the fact that we (diff)
downloadwireguard-openbsd-fdee4d3a9f8e67966430c28a3cf2b11590fa2471.tar.xz
wireguard-openbsd-fdee4d3a9f8e67966430c28a3cf2b11590fa2471.zip
Temporarily disable stack protection on alpha, it breaks fbc if compiled
with optimization.
-rw-r--r--gnu/usr.bin/bc/Makefile.bsd-wrapper6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/usr.bin/bc/Makefile.bsd-wrapper b/gnu/usr.bin/bc/Makefile.bsd-wrapper
index e777b7dbb97..953d6842a12 100644
--- a/gnu/usr.bin/bc/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/bc/Makefile.bsd-wrapper
@@ -1,7 +1,11 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.10 2000/08/04 10:05:13 espie Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.11 2002/12/03 10:44:34 miod Exp $
SUBDIR=bcwrap
+.if (${MACHINE_ARCH} == "alpha")
+COPTS+= -fno-stack-protector
+.endif
+
MAN= doc/bc.1 doc/dc.1
MLINKS= bc.1 gnubc.1
LDFLAGS+= -s ${LDSTATIC}