Skip to content

Conversation

@lzralbu
Copy link
Contributor

@lzralbu lzralbu commented Jun 9, 2024

Since the flag CUSTOM_CFLAGS should allow users customize things, in particular the optimization level, I figured it should come after other default ones.

Based on: "If you use multiple -O options, with or without level numbers, the last such option is the one that is effective."

Source: https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html

Since the flag CUSTOM_CFLAGS should allow users customize things, in particular the optimization level, I figured it should come after other default ones.

Based on: "If you use multiple -O options, with or without level numbers, the last such option is the one that is effective."

Source: https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
@raysan5 raysan5 merged commit c636618 into raysan5:master Jun 10, 2024
@raysan5
Copy link
Owner

raysan5 commented Jun 10, 2024

@lzralbu thanks for the review!

@lzralbu lzralbu deleted the Makefile-fix branch June 10, 2024 19:12
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