mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
Bug 975735 - Port the LDFLAGS variables in netwerk/streamconv/test/Makefile.in to moz.build; r=mshal
This commit is contained in:
parent
e249ccbbef
commit
16f014007c
@ -10,11 +10,3 @@ LIBS = \
|
|||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
include $(topsrcdir)/config/rules.mk
|
||||||
|
|
||||||
ifeq ($(OS_ARCH),WINNT)
|
|
||||||
ifdef GNU_CXX
|
|
||||||
LDFLAGS += -mconsole
|
|
||||||
else
|
|
||||||
LDFLAGS += -SUBSYSTEM:CONSOLE
|
|
||||||
endif
|
|
||||||
endif # WINNT
|
|
||||||
|
@ -16,3 +16,7 @@ FAIL_ON_WARNINGS = True
|
|||||||
if CONFIG['OS_ARCH'] == 'WINNT':
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
||||||
for var in ('MOZ_NO_DEBUG_RTL', 'NGPREFS'):
|
for var in ('MOZ_NO_DEBUG_RTL', 'NGPREFS'):
|
||||||
DEFINES[var] = True
|
DEFINES[var] = True
|
||||||
|
if CONFIG['GNU_CXX']:
|
||||||
|
LDFLAGS += ['-mconsole']
|
||||||
|
else:
|
||||||
|
LDFLAGS += ['-SUBSYSTEM:CONSOLE']
|
||||||
|
Loading…
Reference in New Issue
Block a user