Bug 975735 - Port the LDFLAGS variables in netwerk/streamconv/test/Makefile.in to moz.build; r=mshal

This commit is contained in:
Ehsan Akhgari 2014-02-26 21:41:18 -05:00
parent 82229353c1
commit 9db47ba189
2 changed files with 4 additions and 8 deletions

View File

@ -10,11 +10,3 @@ LIBS = \
$(NULL)
include $(topsrcdir)/config/rules.mk
ifeq ($(OS_ARCH),WINNT)
ifdef GNU_CXX
LDFLAGS += -mconsole
else
LDFLAGS += -SUBSYSTEM:CONSOLE
endif
endif # WINNT

View File

@ -16,3 +16,7 @@ FAIL_ON_WARNINGS = True
if CONFIG['OS_ARCH'] == 'WINNT':
for var in ('MOZ_NO_DEBUG_RTL', 'NGPREFS'):
DEFINES[var] = True
if CONFIG['GNU_CXX']:
LDFLAGS += ['-mconsole']
else:
LDFLAGS += ['-SUBSYSTEM:CONSOLE']