bug 1200360 - fix $(DEFINES) usage in modules/libmar/tool/moz.build. r=mshal

--HG--
extra : commitid : 3fQbo4FOeXE
extra : rebase_source : 69742ce29b52ee7f2b71de51c40f879bb7161659
This commit is contained in:
Ted Mielczarek 2015-09-08 13:58:53 -04:00
parent 62ae78337e
commit ac2377ae08

View File

@ -27,6 +27,7 @@ if CONFIG['MOZ_ENABLE_SIGNMAR']:
for var in ('MAR_CHANNEL_ID', 'MOZ_APP_VERSION'):
DEFINES[var] = '"%s"' % CONFIG[var]
HOST_DEFINES[var] = DEFINES[var]
if CONFIG['MOZ_ENABLE_SIGNMAR']:
USE_LIBS += [
@ -60,11 +61,6 @@ if CONFIG['HOST_OS_ARCH'] == 'WINNT':
# XXX: We should fix these warnings.
ALLOW_COMPILER_WARNINGS = True
HOST_CFLAGS += [
#TODO: bug 1200360 - don't pass make variables here
'$(DEFINES)',
]
HOST_DEFINES['NO_SIGN_VERIFY'] = True
if CONFIG['CROSS_COMPILE'] and CONFIG['HOST_NSPR_MDCPUCFG']: