Libassuan includes at least one locally-built program mkheader that needs to be run on the machine while building.
It uses $(CC_FOR_BUILD) but does not pass through any arguments from the environment.
Libassuan should allow the environment to set flags specific to this build (we don't want to use standard CFLAGS etc because those could be quite different in the case of cross-compilation).