Skip to content

Correct comments wrt CC in example Makefile#227

Merged
lcn2 merged 1 commit intoioccc-src:masterfrom
xexyl:comments
Nov 18, 2025
Merged

Correct comments wrt CC in example Makefile#227
lcn2 merged 1 commit intoioccc-src:masterfrom
xexyl:comments

Conversation

@xexyl
Copy link
Contributor

@xexyl xexyl commented Nov 18, 2025

A long while back I improved the Makefiles to allow for compiler specific flags so that they don't have to be only "clang" or "gcc". This is because in some systems gcc is actually clang (macOS does this). Also if someone wants to use a different version or path then they can do so with the right flags enabled. Before that change it would not work right.

The comments suggested these flags will only be set when CC is exactly "clang" or "gcc". This has been corrected.

A long while back I improved the Makefiles to allow for compiler
specific flags so that they don't have to be only "clang" or "gcc". This
is because in some systems gcc is actually clang (macOS does this). Also
if someone wants to use a different version or path then they can do so
with the right flags enabled. Before that change it would not work
right.

The comments suggested these flags will only be set when CC is exactly
"clang" or "gcc". This has been corrected.
@xexyl
Copy link
Contributor Author

xexyl commented Nov 18, 2025

Will reply to the issue about documentation later on .. I have some thoughts on the issue.

Copy link
Contributor

@lcn2 lcn2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@lcn2 lcn2 merged commit d0f49ce into ioccc-src:master Nov 18, 2025
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.

2 participants