зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1185616 - remove optimization-related hacks in sqlite's Makefile.in; r=glandium
The Mac-specific MODULE_OPTIMIZE_FLAGS was presumably related to the ancient version of gcc we used to use on the Mac. Ideally, clang will not have the same issues. By the same token, the Windows-specific MODULE_OPTIMIZE_FLAGS was due to MSVC 2005. Ideally, the pertinent crashes have been fixed in MSVC 2013 and above.
This commit is contained in:
Родитель
fe212d32d1
Коммит
a6e6ad5385
|
@ -18,15 +18,3 @@ $(DEFFILE): sqlite.def
|
|||
@$(call py_action,preprocessor,$(DEFINES) $(XULPPFLAGS) \
|
||||
$(srcdir)/sqlite.def -o $(DEFFILE))
|
||||
endif
|
||||
|
||||
# XXX Force -O2 optimisation on Mac because using the default -O3 causes
|
||||
# crashes. See bug 676499.
|
||||
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||
MODULE_OPTIMIZE_FLAGS = -O2
|
||||
endif
|
||||
|
||||
# Force /O2 optimisation on Windows because using the default /O1 causes
|
||||
# crashes with MSVC2005 and PGO. See bug 719584.
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
MODULE_OPTIMIZE_FLAGS = -O2
|
||||
endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче