зеркало из https://github.com/mozilla/gecko-dev.git
r=cls Makefile changes to enable/disable console on OS/2
This commit is contained in:
Родитель
63fb4378ea
Коммит
fc257e8add
|
@ -87,9 +87,29 @@ ifdef GC_LEAK_DETECTOR
|
|||
LIBS += -lboehm
|
||||
endif
|
||||
|
||||
# This code removes the console from release builds
|
||||
# (unless you've set MOZ_WINCONSOLE=1).
|
||||
ifndef MOZ_WINCONSOLE
|
||||
ifdef MOZ_DEBUG
|
||||
MOZ_WINCONSOLE=1
|
||||
else
|
||||
MOZ_WINCONSOLE=0
|
||||
endif
|
||||
endif
|
||||
|
||||
# Set link flags according to whether we want a console.
|
||||
ifeq ($(MOZ_WINCONSOLE),1)
|
||||
ifeq ($(MOZ_OS2_TOOLS),EMX)
|
||||
BIN_FLAGS := -Zlinker /PM:VIO -Zlinker /Stack:0x30000
|
||||
endif
|
||||
else
|
||||
ifeq ($(MOZ_OS2_TOOLS),VACPP)
|
||||
LDFLAGS += /PM:PM
|
||||
endif
|
||||
ifeq ($(MOZ_OS2_TOOLS),EMX)
|
||||
BIN_FLAGS := -Zlinker /PM:PM -Zlinker /Stack:0x30000
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(MOZ_WIDGET_TOOLKIT),beos)
|
||||
BEOS_PROGRAM_RESOURCE = $(srcdir)/apprunner-beos.rsrc
|
||||
|
|
Загрузка…
Ссылка в новой задаче