Bug 982055 - Allow option to overwrite BUILD_HOSTNAME. r=ted

This commit is contained in:
Georg Koppen 2014-03-11 11:14:51 -04:00
parent fe71785dfc
commit a00ce0a7d6

View File

@ -23,5 +23,7 @@ else ifneq (,$(strip $(source_repo)))
DEFINES += -DSOURCE_GIT_COMMIT='$(source_repo)'
endif
BUILD_HOSTNAME = $(shell hostname -s || hostname)
ifndef BUILD_HOSTNAME
BUILD_HOSTNAME = $(shell hostname -s || hostname)
endif
DEFINES += -DBUILD_HOSTNAME='$(BUILD_HOSTNAME)'