Line 118-119 of tetex.eclass are: # filter -Os; bug #74307. filter-flags "-fstack-protector" "-Os" Since my default CFLAGS use -Os, I end up with no optimization at all when building tetex-3.0_p1-r4. At the very least, shouldn't -Os be replaced with the safe -O2? Also, the bug listed in the comment is in no way related to filtering -Os and I could not find any other bugs related to tetex and -Os. Reproducible: Always Steps to Reproduce: 1. Set CFLAGS to "-Os" 2. emerge tetex 3. Actual Results: Tetex builds with no optimization. Expected Results: The -Os should either not be stripped or should be replaced with a safer -O2.
changed it, thanks for reporting. tetex is almost deprecated nowadays, but still there...