Second part of the stlport-icc fix for 4.x. 
This patch modifies some gcc parts too, but basically it makes the port
respect CFLAGS. Because of bugs in combination with gcc 3.x and some
optimization options the CFLAGS are hardcoded (better safe than sorry).
I've tested the gcc part of the fix on 4-stable and two 5.x systems.
Submitted by: Marius Strobl <email@example.com> 
Approved by: maintainer timeout (for devel/stlport)