1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

. 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
This commit is contained in:
Greg Lewis 2004-01-29 07:32:45 +00:00
parent 0c881ba59c
commit 309228f2b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99361

View File

@ -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