summaryrefslogtreecommitdiff
path: root/build/make
diff options
context:
space:
mode:
authorJohann <johannkoenig@google.com>2011-06-08 14:43:34 -0400
committerJohann <johannkoenig@google.com>2011-06-08 16:19:37 -0400
commit79327be6c729ed73cb339630b0ab770e3c54a4ab (patch)
tree21b0507eba5f96abcba636833f26b498e017a2f6 /build/make
parentbaa17db184722fd59ac917ae8701552d9d481835 (diff)
downloadlibvpx-79327be6c729ed73cb339630b0ab770e3c54a4ab.tar
libvpx-79327be6c729ed73cb339630b0ab770e3c54a4ab.tar.gz
libvpx-79327be6c729ed73cb339630b0ab770e3c54a4ab.tar.bz2
libvpx-79327be6c729ed73cb339630b0ab770e3c54a4ab.zip
use GCC inline magic
Better fix for #326. ICC happens to support the inline magic Change-Id: Ic367eea608c88d89475cb7b05d73500d2a1bc42b
Diffstat (limited to 'build/make')
-rwxr-xr-xbuild/make/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/make/Makefile b/build/make/Makefile
index a951e99bc..fe2edd96b 100755
--- a/build/make/Makefile
+++ b/build/make/Makefile
@@ -124,6 +124,12 @@ $(BUILD_PFX)%.s.o: %.s
$(if $(quiet),@echo " [AS] $@")
$(qexec)$(AS) $(ASFLAGS) -o $@ $<
+.PRECIOUS: %.c.S
+%.c.S: CFLAGS += -DINLINE_ASM
+$(BUILD_PFX)%.c.S: %.c
+ $(if $(quiet),@echo " [GEN] $@")
+ $(qexec)$(CC) -S $(CFLAGS) -o $@ $<
+
.PRECIOUS: %.asm.s
$(BUILD_PFX)%.asm.s: %.asm
$(if $(quiet),@echo " [ASM CONVERSION] $@")