CFE-3629 - just poking around#246
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.