bug 961287 - don't lto files that are only compiled to assembly to get offsets r=glandium

This commit is contained in:
Trevor Saunders 2014-01-17 19:21:44 -05:00
Родитель 1327fae085
Коммит 3260b2b223
1 изменённых файлов: 4 добавлений и 3 удалений

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

@ -51,9 +51,10 @@ GARBAGE += vp8_asm_enc_offsets.$(OBJ_SUFFIX) vp8_asm_enc_offsets.asm
else
# We can extract the asm offsets directly from generated assembly using inline
# asm. This is the preferred method.
# asm. This is the preferred method. However we need to strip out CFLAGS that
# cause LTO because then the resulting .S file is useless.
vpx_scale_asm_offsets.s: CFLAGS += -DINLINE_ASM
vpx_scale_asm_offsets.s: CFLAGS := -DINLINE_ASM
OFFSET_PATTERN := '^[a-zA-Z0-9_]* EQU'
@ -70,7 +71,7 @@ vpx_scale_asm_offsets.asm: vpx_scale_asm_offsets.s
GARBAGE += vpx_scale_asm_offsets.s vpx_scale_asm_offsets.asm
vp8_asm_enc_offsets.s: CFLAGS += -DINLINE_ASM
vp8_asm_enc_offsets.s: CFLAGS := -DINLINE_ASM
vp8_asm_enc_offsets.s: $(srcdir)/vp8/encoder/vp8_asm_enc_offsets.c
$(REPORT_BUILD)