-
Notifications
You must be signed in to change notification settings - Fork 22
CFE-3629 - just poking around #246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
@btriller Why did you close this? IIRC, the change looked reasonable, but more work was needed to fix the failing tests(?) |
I looked further into it on macOS (with clang). With |
Set CFLAGS before AC_PROG_CC as it might add -g/-O options if CFLAGS is unset. Don't add CFLAGS to CORE_FLAGS because I don't know, but maybe CFLAGS is populated otherwise.
In case CFLAGS were given to configure, keep them for later stages. Check for clang compiler so strchrnul() can be used for macOS >= 15.4. Replace some obsolete autoconf macros. Make -Werror works in configure.
|
@btriller Thanks for working on this. We're a bit busy with getting the releases out, but I'll get back to reviewing the PR shortly after that :) |
|
Generally we should not really touch In this thread it is suggested to set |
Set CFLAGS before AC_PROG_CC as it might add -g/-O options if CFLAGS is unset.
Don't add CFLAGS to CORE_FLAGS because I don't know, but maybe CFLAGS is populated otherwise.