openbsd-ports/editors/vim/patches/sup-m68k-src_Makefile

26 lines
669 B
Plaintext
Raw Normal View History

$OpenBSD: sup-m68k-src_Makefile,v 1.1 2004/07/12 19:32:59 lebel Exp $
--- src/Makefile.orig Wed Sep 26 08:10:59 2001
+++ src/Makefile Thu Oct 25 00:52:08 2001
@@ -1969,10 +1969,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
@@ -2140,7 +2140,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