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

This commit is contained in:
Ted Mielczarek 2015-09-08 13:58:53 -04:00
parent 00d0f5365d
commit 6fbc5b2b16

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']: