зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1355671
- Add optimization flags to HOST_CXXFLAGS similarly to HOST_CFLAGS. r=gps
--HG-- extra : rebase_source : a8a0bef056cc7af6325c16b138134bcac561b97a
This commit is contained in:
Родитель
360f6a5284
Коммит
305ba77f06
|
@ -292,13 +292,11 @@ HOST_CFLAGS += $(_DEPEND_CFLAGS)
|
|||
HOST_CXXFLAGS += $(_DEPEND_CFLAGS)
|
||||
ifdef CROSS_COMPILE
|
||||
HOST_CFLAGS += $(HOST_OPTIMIZE_FLAGS)
|
||||
HOST_CXXFLAGS += $(HOST_OPTIMIZE_FLAGS)
|
||||
else
|
||||
ifdef MOZ_OPTIMIZE
|
||||
ifeq (1,$(MOZ_OPTIMIZE))
|
||||
HOST_CFLAGS += $(MOZ_OPTIMIZE_FLAGS)
|
||||
else
|
||||
HOST_CFLAGS += $(MOZ_OPTIMIZE_FLAGS)
|
||||
endif # MOZ_OPTIMIZE == 1
|
||||
HOST_CXXFLAGS += $(MOZ_OPTIMIZE_FLAGS)
|
||||
endif # MOZ_OPTIMIZE
|
||||
endif # CROSS_COMPILE
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче