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

Re: [PATCH] Support custom build options in config.mak

From
Junio C Hamano <junkio@cox.net>
Date
Oct 11, 2005, 08:07 UTC
Message-ID
<7vr7astr27.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.63.0510110948170.19774@wbgn013.biozentrum.uni-wuerzburg.de>

With this patch, you can store the configuration options like NO_CURL=YesPlease or NO_OPENSSL=YesPlease into a file named Make, and I typically do this:

    $ ./Make CFLAGS='-O1 -Wal -g' clean test install
My "Make" file looks like this:
    $ cat Make
    #!/bin/sh
    PATH=/usr/bin:/bin
    LANG=C
    LC_CTYPE=C
    export PATH LANG LC_CTYPE
    make bindir=$HOME/bin/Linux \
         PYTHON_PATH=/usr/bin/python2.4 \
         CFLAGS="${CFLAGS-'-O1 -Wall -g'}" \
         WITH_SEND_EMAIL=YesPlease "$@"
Nothing-to-sign-off-by: Junio C Hamano <junkio@cox.net>
---
  0 files changed.
    Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
    > With this patch, it is possible to store configuration options like
    > NO_CURL=YesPlease or NO_OPENSSL=YesPlease into a file named
    > config.mak, which will be included in the Makefile.
    IOW, I'll have to think about its merit ;-)
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 2 of 4 in “Support custom build options in config.mak”
  1. Support custom build options in config.makJohannes Schindelin, Oct 11, 2005
  2. Junio C HamanoOct 11, 2005
  3. Johannes SchindelinOct 11, 2005
  4. Daniel BarkalowOct 11, 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.