CFLAGS in Fink


I was wondering -- If I compile software with Fink, is there any way to change/add CFLAGS? I know you can set environment variables, but it doesn't affect the compilations... Any ideas?


No you can't. The reason is because the CFLAGS are up to the package maintainer, since there have been many bug reports in the past because people used way too aggressive CFLAGS causing the compiles to fail, or weird behavior in the programs.

if you want to mess with CFLAGS, you might want to take a look at Darwinports, which is based on the FreeBSD ports system, and is very similar to Gentoo's portage.