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

Re: [PATCH v3] make: add INSTALL_STRIP option variable

From
Bagas Sanjaya <bagasdotme@gmail.com>
Date
Sep 16, 2021, 10:36 UTC
Message-ID
<e5e9848b-4378-8478-6ade-8e5f97295181@gmail.com>
In-Reply-To
<87a6kchlqc.fsf@evledraar.gmail.com>
On 16/09/21 16.50, Ævar Arnfjörð Bjarmason wrote:
Show 5 quoted lines
> ...this really is not an INSTALL_STRIP but (using some combination of
> your own naming) a "INSTALL_XPROGRAMS_OPTS" or "INSTALL_XOPTS". I.e. you
> can supply arbitrary options to "install" with this, but only for
> binaries.
> 

I think it should have been "INSTALL_STRIP_OPTS". This could haven't been issue if we add global (applicable tobinaries and scripts) "INSTALL_OPTS".

Show 11 quoted lines
> Also doesn't this misbehave under MSVC when combined with *.pdb files?
> See dce7d295514 (msvc: support building Git using MS Visual C++,
> 2019-06-25) and a8b5355d808 (msvc: copy the correct `.pdb` files in the
> Makefile target `install`, 2020-09-21) , i.e. the code at the start of
> your diff context.
> 
> Does stripping the main binary while having a *.pdb file error or MSCV,
> or make the *.pdb file useless, or is *.pdb an unconditional equivalent
> of INSTALL_STRIP=-s on MSCV that we should disable if this
> hopefully-then-boolean INSTALL_STRIP option is enabled?
> 

I'm not familiar with MSVC, so I can't tell further except you can pass null ("") to INSTALL_STRIP.

-- 
An old man doll... just what I always wanted! - Clara
Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 3 of 5 in “make: add INSTALL_STRIP option variable”
  1. make: add INSTALL_STRIP option variableBagas Sanjaya, Sep 2, 2021
  2. Ævar Arnfjörð BjarmasonSep 16, 2021
  3. Bagas SanjayaSep 16, 2021
  4. Ævar Arnfjörð BjarmasonSep 18, 2021
  5. Junio C HamanoSep 16, 2021

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.