git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Kill $COPTS in favour of $CFLAGS

From
Petr Baudis <pasky@ucw.cz>
Date
Aug 4, 2005, 22:52 UTC
Message-ID
<20050804225216.GH24479@pasky.ji.cz>

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(-)
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
Message 1 of 1 in “Kill $COPTS in favour of $CFLAGS”
  1. Kill $COPTS in favour of $CFLAGSPetr Baudis, Aug 4, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.