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

[PATCH] Include local config before platform tweaks

From
Brian Gernhardt <benji@silverinsanity.com>
Date
Sep 5, 2006, 22:00 UTC
Message-ID
<9434EEBD-57BE-46D7-A2FF-069BB960AA44@silverinsanity.com>

Having config.mak included after the platform tweaks ignores NO_FINK or NO_DARWIN_PORTS in that file. Simply including the config earlier fixes that.

Signed-off-by: Brian Gernhardt <benji@silverinsanity.com>
---
Makefile |    6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 7b3114f..81902d4 100644
--- a/Makefile
+++ b/Makefile
@@ -300,6 +300,9 @@ BUILTIN_OBJS = \
GITLIBS = $(LIB_FILE) $(XDIFF_LIB)
LIBS = $(GITLIBS) -lz
+-include config.mak.autogen
+-include config.mak
+
#
# Platform specific tweaks
#
@@ -403,9 +406,6 @@ ifneq (,$(findstring arm,$(uname_M)))
	ARM_SHA1 = YesPlease
endif
--include config.mak.autogen
--include config.mak
-
ifdef WITH_OWN_SUBPROCESS_PY
	PYMODULES += compat/subprocess.py
else
Next: Junio C Hamano
Message 1 of 5 in “Include local config before platform tweaks”
  1. Include local config before platform tweaksBrian Gernhardt, Sep 5, 2006
  2. Junio C HamanoSep 5, 2006
  3. Shawn PearceSep 6, 2006
  4. Junio C HamanoSep 6, 2006
  5. Brian GernhardtSep 6, 2006

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.