threads / patch / 1417

patchKill $COPTS in favour of $CFLAGS

Subject: [PATCH] Kill $COPTS in favour of $CFLAGS

## tl;dr

One message between Aug 4, 2005 and Aug 4, 2005. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Petr Baudis· Aug 4, 2005, 22:52 UTC · lore

As proposed on the mailing list previously, remove the seemingly obscure $COPTS usage in favour of a default $CFLAGS value, which is a more usual usage.

Signed-off-by: Petr Baudis <pasky@ucw.cz>

--- commit 3e90b732f2c1c5d6b3b460be0c17cd24f3932ced tree 51f9664dbc8e3b72b9941e5ccf8de867c3fb35b1 parent f0487fa4109c37dc67439c40ad894ec73433f471 author Petr Baudis <pasky@suse.cz> Fri, 05 Aug 2005 00:47:34 +0200 committer Petr Baudis <xpasky@machine.sinus.cz> Fri, 05 Aug 2005 00:47:34 +0200

 Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Show changes to Makefile +2 −2
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -34,8 +34,8 @@
 
 GIT_VERSION=0.99.3
 
-COPTS?=-g -O2
-CFLAGS+=$(COPTS) -Wall $(DEFINES)
+CFLAGS?=-g -O2
+CFLAGS+=-Wall $(DEFINES)
 
 prefix=$(HOME)
 bindir=$(prefix)/bin

← back to recent threads