mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 22:25:30 +00:00
16 lines
445 B
Makefile
16 lines
445 B
Makefile
include $(topsrcdir)/config/rules.mk
|
|
|
|
# These files use MMX and SSE2 intrinsics, so they need special compile flags
|
|
# on some compilers.
|
|
ifneq (,$(INTEL_ARCHITECTURE))
|
|
ifdef GNU_CC
|
|
yuv_convert_mmx.$(OBJ_SUFFIX): CXXFLAGS += -mmmx
|
|
yuv_convert_sse2.$(OBJ_SUFFIX): CXXFLAGS += -msse2
|
|
endif
|
|
|
|
ifdef SOLARIS_SUNPRO_CXX
|
|
yuv_convert_mmx.$(OBJ_SUFFIX): CXXFLAGS += -xarch=mmx -xO4
|
|
yuv_convert_sse2.$(OBJ_SUFFIX): CXXFLAGS += -xarch=sse2 -xO4
|
|
endif
|
|
endif
|