The compilation of the C modules now respects the user defined environment.
This is the patch from Justin (https://gna.org/users/jlec) attached to bug #22145
(https://gna.org/bugs/?22145). It has been modified to include a comment and remove a double empty
line.