Skip to content

fix: adjust findsymbols definition to work in BSD make(1)#453

Merged
mooinglemur merged 1 commit into
X16Community:masterfrom
markjreed:bsdmake
Feb 18, 2026
Merged

fix: adjust findsymbols definition to work in BSD make(1)#453
mooinglemur merged 1 commit into
X16Community:masterfrom
markjreed:bsdmake

Conversation

@markjreed

@markjreed markjreed commented Jan 18, 2026

Copy link
Copy Markdown
Contributor

The macro added in 8efde2d to wrap findsymbols and abort on failure incuded GNU make(1)-specific features ($(subst)), breaking the build on platforms using BSD make (like macOS). This removes the $(subst) call in the findsymbols macro definition in favor of having the findsymbols script itself output a backslash in front of the dollar signs in its hex literals.

Fixes #448.

@stefan-b-jakobsson

Copy link
Copy Markdown
Collaborator

This fix works, and is needed for the project to build on MacOS after some recent changes to the Makefile.

@mooinglemur mooinglemur merged commit fbe32a6 into X16Community:master Feb 18, 2026
1 check passed
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.

ROM v49 cannot be built: ld65: Invalid definition: '__CHARLAE_LOAD__='

3 participants