DescriptionLet environment variables override make_global_settings.
?= don't work for CC and CXX, as ?= is equivalent to
ifeq ($(origin FOO), undefined)
FOO = bar
endif
and CC's and CXX's origin is "default". See
http://www.gnu.org/software/make/manual/make.html (search for
"conditional variable assignment" and "The origin function").
Without the ifeq and just ?=, CC and CXX wouldn't be overwritten.
With just = instead of ?=, environment variables wouldn't overwrite
CC and CXX, which would break the goma make build instructions.
Committed: http://code.google.com/p/gyp/source/detail?r=1031
Patch Set 1 #Patch Set 2 : '' #Patch Set 3 : '' #Patch Set 4 : '' #Messages
Total messages: 5 (0 generated)
|