Bug 832752 - On ARM, compile pixman without -mapcs-frame, even if that's specified in CFLAGS, since this calling convention appears to break the routines written in assembly. r=glandium,jrmuizel

This commit is contained in:
Justin Lebar 2013-01-23 12:29:20 -05:00
Родитель 9e4257c826
Коммит 94af92dd8f
1 изменённых файлов: 4 добавлений и 0 удалений

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

@ -163,3 +163,7 @@ pixman-arm-neon.$(OBJ_SUFFIX): COMPILE_CFLAGS += $(ARM_NEON_CFLAGS)
pixman-vmx.$(OBJ_SUFFIX): COMPILE_CFLAGS += $(VMX_CFLAGS) pixman-vmx.$(OBJ_SUFFIX): COMPILE_CFLAGS += $(VMX_CFLAGS)
# The ARM asm functions here don't appreciate being called by functions
# compiled with -mapcs-frame. See bug 832752.
CXXFLAGS := $(filter-out -mapcs-frame,$(CXXFLAGS))
CFLAGS := $(filter-out -mapcs-frame,$(CFLAGS))