Created attachment 207423 [details] patch With powerpc* soon switching to clang on head, GCC from ports will be used and it doesn't accept -fnested-functions.
Feel free to commit such changes to all my ports.
Fails to build on ppcports: /wrkdirs/usr/ports/mail/milter-callback/work/milter-callback-1.6.0/cache.c -o /wrkdirs/usr/ports/mail/milter-callback/work/milter-callback-1.6.0/cache.o /wrkdirs/usr/ports/mail/milter-callback/work/milter-callback-1.6.0/cache.c: In function 'extendCache': /wrkdirs/usr/ports/mail/milter-callback/work/milter-callback-1.6.0/cache.c:338: error: nested functions are disabled, use -fnested-functions to re-enable Wouldn't a better approach be to make the flag conditional on CHOSEN_COMPILER_TYPE ?
(In reply to Mark Linimon from comment #2) It fails, because base gcc needs it, but we are switching to clang soon and may commit this patch right after the switch. Checking CHOSEN_COMPILER_TYPE won't help, because there's USE_GCC=any.
See r514519.