diff --git a/lib/configure.js b/lib/configure.js index d4342b9d76..7992b658a4 100644 --- a/lib/configure.js +++ b/lib/configure.js @@ -96,7 +96,7 @@ function configure (gyp, argv, callback) { log.verbose('build/' + configFilename, 'creating config file') - var config = process.config || {} + var config = Object.assign({}, process.config) var defaults = config.target_defaults var variables = config.variables