зеркало из https://github.com/mozilla/gecko-dev.git
b=386897, compile cairo/pixman with full speed optimization, r=roc,sr=stuart
This commit is contained in:
Родитель
bcf40f4d0a
Коммит
217327c738
|
@ -53,6 +53,17 @@ MODULE = cairo
|
|||
LIBRARY_NAME = mozcairo
|
||||
LIBXUL_LIBRARY = 1
|
||||
|
||||
ifdef GNU_CC
|
||||
MODULE_OPTIMIZE_FLAGS = -O2
|
||||
else
|
||||
ifeq ($(OS_ARCH),SunOS)
|
||||
MODULE_OPTIMIZE_FLAGS = -fast
|
||||
endif
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
MODULE_OPTIMIZE_FLAGS = -O2
|
||||
endif
|
||||
endif
|
||||
|
||||
REQUIRES = $(PNG_REQUIRES) \
|
||||
$(ZLIB_REQUIRES) \
|
||||
libpixman \
|
||||
|
|
|
@ -51,6 +51,17 @@ ifndef MOZ_ENABLE_LIBXUL
|
|||
VISIBILITY_FLAGS =
|
||||
endif
|
||||
|
||||
ifdef GNU_CC
|
||||
MODULE_OPTIMIZE_FLAGS = -O2
|
||||
else
|
||||
ifeq ($(OS_ARCH),SunOS)
|
||||
MODULE_OPTIMIZE_FLAGS = -fast
|
||||
endif
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
MODULE_OPTIMIZE_FLAGS = -O2
|
||||
endif
|
||||
endif
|
||||
|
||||
CSRCS = \
|
||||
fbcompose.c \
|
||||
fbedge.c \
|
||||
|
|
Загрузка…
Ссылка в новой задаче