Currently there is that in xine-lib's ebuild: # The default CFLAGS (-O) is the only thing working on hppa. use hppa && unset CFLAGS Which was apparently added a good bunch of time ago: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/xine-lib/xine-lib-1_rc4-r1.ebuild?hideattic=0&r1=1.4&r2=1.5 One thing I hate with such code is that it tends to stay forever. I think it could be worth checking again if it is safe to remove it. If it isn't it'll still probably be better to use strip-flags or something like that instead of completely unsetting the CFLAGS.
I'll test it soon with something better than -O.
It simply works. I don't know since which version, but I tested the latest stable version 1.1.15 and it simply works.