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

Re: disable the compile-flags-changed check

From
Junio C Hamano <junkio@cox.net>
Date
Jul 15, 2006, 21:48 UTC
Message-ID
<7vbqrqmtel.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<E1G1qAS-0005gv-P7@moooo.ath.cx>
Matthias Lederhofer <matled@gmx.net> writes:
Show 15 quoted lines
> Junio C Hamano <junkio@cox.net> wrote:
>> Matthias Lederhofer <matled@gmx.net> writes:
>> 
>> > Is there any way to disable the "the compile flags have changed,
>> > recompile everything" check?  I want to built with another prefix than
>> > installing to create a tarball I copy to other machines.  Is there any
>> > way to do this?
>> 
>> Perhaps
>> 
>> 	DESTDIR=/var/tmp/ make prefix=/usr install
>> 
>> is what you are looking for?
>
> Thanks, this works.

By the way, in older days before binary distributions have become _the_ way for the end users to get programs, "install into a saparate place for tarring up" needed to be custom job per package, because Makefiles of many packages were not set up to easily allow it (like DESTDIR= stuff). These days, allowing it is almost a requirement in order to make binary distros' lives easier, so if a program is packaged for some binary distros (say, RPM or deb), often the easiest way to figure out the answer to your question is to see how they build their packages out of the source.

Previous: Matthias Lederhofer
Message 4 of 4 in “disable the compile-flags-changed check”
  1. Matthias LederhoferJul 14, 2006
  2. Junio C HamanoJul 14, 2006
  3. Matthias LederhoferJul 15, 2006
  4. Junio C HamanoJul 15, 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.