-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 13.11.2015 02:35, Rob Lockhart wrote:
On AIX 6.1 using IBM's XLC compiler, I do "configure" and that successfully completes. However, when I "make", it fails due to the parameters "-fstack-protector" and "-fPIE"... apparently it couldn't find the files "stack-protector" and "PIE" as "-f" specifies a file.
I use: https://www.gnu.org/software/autoconf-archive/ax_append_compile_flags.ht ml https://www.gnu.org/software/autoconf-archive/ax_append_link_flags.html macros to check whether the compiler/linker accepts specific flags. See the configre.ac script for details.
The preferred solution would be to fix those macros. Implementing workarounds for specific compilers is obviously not a good idea. Maybe I should only check those options if gcc is detected. What do you think?
Best regards, Mike