https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65351
--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> --- x86_64-darwin doesn't add -mdynamic-no-pic, so it is indeed not needed to add -mno-dynamic-no-pic for it. I've been wondering about that, but then checked that gcc supports -mno-dynamic-no-pic even there. So, does clang support -mno-dynamic-no-pic at least on i686 and powerpc 32-bit? Or do we need to check for it in the config/picflag.m4 snippet? Though, if it doesn't support -mno-dynamic-no-pic, is there any way how to cancel that flag in clang?