Icedtea 7 and OpenJDK 7 will need to apply new compiler flags for certain compiler version without breaking support for older (host) compilers. Move to a common class so that the same code can be re-used. This series sits on top of my earlier patchset from today.