Created attachment 374392 [details, diff] waf-utils.eclass.patch see bug 446281 for an explanation as to why this can be an issue
sent to dev ML, will commit in 2 weeks if there are no objections
+ 16 Apr 2014; Julian Ospald <hasufell@gentoo.org> waf-utils.eclass: + respect CFLAGS in linking command wrt #506956