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:
Nathan Froyd 2015-07-20 11:09:49 -04:00
Родитель fe212d32d1
Коммит a6e6ad5385
1 изменённых файлов: 0 добавлений и 12 удалений

Просмотреть файл

@ -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