Hello,
gcc allows complex arguments like ‘–param arg=value’, e.g. ‘–param l1-cache-line-size=64 --param l1-cache-size=64 --param l2-cache-size=512’ is valid gcc argument. But audacity fails to compile with such option at least from version 1.3.6 till current 1.3.10.
It complains about different libraries missing, but the real reason is detection test unit compilation failure because pkg-config --cflags errorneously strips --param argument when it encouter it the second time, so you get ‘–param l1-cache-line-size=64 l1-cache-size=64 l2-cache-size=512’ string instead of original option above.
Maybe this should be fix at pkg-config, but it is very easy to fix audacity to compile: just replace --cflags by --cflags-only-I and everything will be perfect.
More details and build logs are available here: https://bugs.gentoo.org/show_bug.cgi?id=273971
Thank you for your attention.