Skip to content

Fix CXXLUA CFLAGS conflict with C23 on macOS#118

Open
tenox7 wants to merge 1 commit intoEnigma-Game:masterfrom
tenox7:master
Open

Fix CXXLUA CFLAGS conflict with C23 on macOS#118
tenox7 wants to merge 1 commit intoEnigma-Game:masterfrom
tenox7:master

Conversation

@tenox7
Copy link
Copy Markdown

@tenox7 tenox7 commented Apr 6, 2026

Allows Building on Apple Silicon / Latest MacOS.

When CXXLUA is enabled, the C standard flag -std=gnu23 was being passed to C++ compilation via -x c++, causing build failures. Override CFLAGS instead of appending to avoid inheriting the C standard flag.

When CXXLUA is enabled, the C standard flag -std=gnu23 was being
passed to C++ compilation via -x c++, causing build failures.
Override CFLAGS instead of appending to avoid inheriting the C
standard flag.
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