Skip to content

Fix build with GNU Make 4.3#47

Merged
inactive123 merged 1 commit intolibretro:masterfrom
AluisioASG:make-4.3
Dec 6, 2021
Merged

Fix build with GNU Make 4.3#47
inactive123 merged 1 commit intolibretro:masterfrom
AluisioASG:make-4.3

Conversation

@AluisioASG
Copy link
Copy Markdown
Contributor

Apply the upstream fix from bkaradzic/GENie#493, which was verified to work with previous Make releases as well.

Apply the upstream fix from bkaradzic/GENie#493,
which was verified to work with previous Make releases as well.
AluisioASG added a commit to AluisioASG/nixpkgs that referenced this pull request Oct 28, 2020
Builds currently fail with `ar` trying to operate on what are clearly
two paths concatenated together.  It stems from a backward-incompatible
change in Make:

> Previously appending using '+=' to an empty variable would result in
> a value starting with a space.  Now the initial space is only added
> if the variable already contains some value.  Similarly, appending an
> empty string does not add a trailing space.

This issue was first reported on the MAME repository proper
(mamedev/mame#6248), and affects libretro's
2016 snapshot as well.  A fix that is reported to work with previous
versions of Make was upstreamed to:
- GENie, the build system: bkaradzic/GENie#493
- MAME: mamedev/mame#6262
- libretro: libretro/mame2016-libretro#47

The fetched patch comes from the last of these.
AluisioASG added a commit to AluisioASG/nixpkgs that referenced this pull request Oct 30, 2020
Builds currently fail with `ar` trying to operate on what are clearly
two paths concatenated together.  It stems from a backward-incompatible
change in Make:

> Previously appending using '+=' to an empty variable would result in
> a value starting with a space.  Now the initial space is only added
> if the variable already contains some value.  Similarly, appending an
> empty string does not add a trailing space.

This issue was first reported on the MAME repository proper
(mamedev/mame#6248), and affects libretro's
2016 snapshot as well.  A fix that is reported to work with previous
versions of Make was upstreamed to:
- GENie, the build system: bkaradzic/GENie#493
- MAME: mamedev/mame#6262
- libretro: libretro/mame2016-libretro#47

The fetched patch comes from the last of these.

(cherry picked from commit 8880179)
@inactive123 inactive123 merged commit 08671eb into libretro:master Dec 6, 2021
@thiagokokada
Copy link
Copy Markdown
Contributor

Thanks @twinaphex for mergin this 😄 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants