summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2012-09-02 03:56:19 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2012-09-02 03:56:19 +0000
commitc361628b8cfa6e17bce24d340ec8f34a0906c8c4 (patch)
treec95fe0e960888808b30fa33b33b180ebac8baab2
parent278bf4088978c87e55c2087e0e70d3de5b0f060d (diff)
Oh, but only -O1 is needed. With -fpie, -O0 is currently needed. Bah.
-rw-r--r--usr.bin/tic/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tic/Makefile b/usr.bin/tic/Makefile
index 0675bcf05b3..432e89ca564 100644
--- a/usr.bin/tic/Makefile
+++ b/usr.bin/tic/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 2012/09/02 03:55:46 deraadt Exp $
+# $OpenBSD: Makefile,v 1.7 2012/09/02 03:56:18 deraadt Exp $
PROG= tic
SRCS= dump_entry.c tic.c
@@ -12,7 +12,7 @@ CLEANFILES+= termsort.c captoinfo.1
# Work around gcc optimization bug on sh
.if (${MACHINE_ARCH} == sh)
-COPTS+= -O0
+COPTS+= -O1
.endif
beforedepend: termsort.c