openbsd-ports/editors/vim/patches/sup-m68k-src_Makefile
2010-03-21 10:53:37 +00:00

26 lines
670 B
Plaintext

$OpenBSD: sup-m68k-src_Makefile,v 1.2 2010/03/21 10:53:37 jasper Exp $
--- src/Makefile.orig Fri Feb 5 14:18:35 2010
+++ src/Makefile Fri Feb 5 14:18:37 2010
@@ -2347,10 +2347,10 @@ objects/digraph.o: digraph.c
$(CCC) -o $@ digraph.c
objects/edit.o: edit.c
- $(CCC) -o $@ edit.c
+ ${CCC:C/-O[1-4]/-O1/g} -o $@ edit.c
objects/eval.o: eval.c
- $(CCC) -o $@ eval.c
+ ${CCC:C/-O[1-4]/-O1/g} -o $@ eval.c
objects/ex_cmds.o: ex_cmds.c
$(CCC) -o $@ ex_cmds.c
@@ -2548,7 +2548,7 @@ objects/syntax.o: syntax.c
$(CCC) -o $@ syntax.c
objects/tag.o: tag.c
- $(CCC) -o $@ tag.c
+ ${CCC:C/-O[1-4]/-O1/g} -o $@ tag.c
objects/term.o: term.c
$(CCC) -o $@ term.c