Skip to content

cyclone: make use of quotes when using spaces in cyclone_cc e.g. when using ccache / update webOS section in Makefile.libretro#261

Open
cscd98 wants to merge 2 commits into
libretro:masterfrom
cscd98:cyclone-cc
Open

cyclone: make use of quotes when using spaces in cyclone_cc e.g. when using ccache / update webOS section in Makefile.libretro#261
cscd98 wants to merge 2 commits into
libretro:masterfrom
cscd98:cyclone-cc

Conversation

@cscd98

@cscd98 cscd98 commented Apr 3, 2026

Copy link
Copy Markdown

This fixes an issue when using ccache as part of CC_FOR_BUILD which is specified in the toolchain.

Error when compiling on gitlab:

https://git.libretro.com/libretro/picodrive/-/jobs/1197152:

building Cyclone...
/bin/sh: 1: export: /usr/local/bin/gcc: bad variable name

The space between ccache and gcc means we need to quote around them:

CC_FOR_BUILD="ccache /usr/bin/gcc"
CXX_FOR_BUILD="ccache /usr/bin/g++"

when used in common.mak

@cscd98 cscd98 changed the title cyclone: use quotes for when using spaces in cyclone_cc e.g. when using ccache cyclone: make use of quotes when using spaces in cyclone_cc e.g. when using ccache Apr 3, 2026
@cscd98 cscd98 changed the title cyclone: make use of quotes when using spaces in cyclone_cc e.g. when using ccache cyclone: make use of quotes when using spaces in cyclone_cc e.g. when using ccache / update webOS section in Makefile.libretro Apr 3, 2026
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.

1 participant