From 309228f2b17eaa24bfe8c3b2d05d8a1f4c65d6ee Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Thu, 29 Jan 2004 07:32:45 +0000 Subject: . Don't allow -O3 to be hardwired into CFLAGS, just use what is set. In particular, the 4.x/alpha system gcc produces many warnings about why using -O3 with it is bad. Submitted by: bento --- editors/bed/files/patch-src::Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 editors/bed/files/patch-src::Makefile (limited to 'editors/bed') diff --git a/editors/bed/files/patch-src::Makefile b/editors/bed/files/patch-src::Makefile new file mode 100644 index 000000000000..cd6f14274cac --- /dev/null +++ b/editors/bed/files/patch-src::Makefile @@ -0,0 +1,15 @@ +$FreeBSD$ + +--- src/Makefile.orig Wed Jan 28 23:50:02 2004 ++++ src/Makefile Wed Jan 28 23:51:41 2004 +@@ -27,8 +27,8 @@ + + #-DENDOFLINEBUG + +-CFLAGS:=$(OPTS) $(CFLAGS) +-LDFLAGS:=$(OPTS) $(LDFLAGS) ++CFLAGS:=$(CFLAGS) ++LDFLAGS:=$(LDFLAGS) + CPPFLAGS=$(CFLAGS) + # *** NORMALLY NOTHING HAS TO BE CHANGED BELOW THIS LINE + OBJ := repeat.o rbtree.o memory.o editor.o getfile.o glob.o expandfilename.o readcolors.o getfree.o getlabel.o screenpart.o marks.o digitstring.o parts.o main.o strtoint.o keyproc.o marken.o procview.o menus.o inout.o move.o window.o edit.o file.o select.o undo.o screen.o search.o onlykey.o editup.o cursesinit.o input.o contain.o withcontain.o filter.o ascii.o multidigit.o macros.o editmacros.o typelist.o $(OBJ) keyinput.o hassub.o savedatatype.o menufuncs.o support.o desturbe.o gethelp.o disk.o -- cgit v1.2.3