summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-12-03 10:44:35 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-12-03 10:44:35 +0000
commitd70914f861e56d31b402ca20f6aed0b12ec79778 (patch)
treed59df597b429cc70e779508fbce839d3c5de4df8
parent32868b4dd9809cc3e4d27cb78803b473b2e19bcb (diff)
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}