update the formula to handle the gcc hack