]> git.sesse.net Git - x264/commitdiff
Only build SPARC VIS asm if high bit-depth is disabled
authorSean McGovern <gseanmcg@gmail.com>
Sun, 21 Nov 2010 06:59:33 +0000 (01:59 -0500)
committerFiona Glaser <fiona@x264.com>
Tue, 23 Nov 2010 06:41:54 +0000 (22:41 -0800)
Makefile

index 8a3a327571eb34ef920824ced2e53db8fa7014ae..21f57e7c077b27fe0ca676637df7de27294fab22 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -110,9 +110,11 @@ endif
 
 # VIS optims
 ifeq ($(ARCH),UltraSparc)
+ifeq ($(findstring HIGH_BIT_DEPTH, $(CONFIG)),)
 ASMSRC += common/sparc/pixel.asm
 OBJASM  = $(ASMSRC:%.asm=%.o)
 endif
+endif
 
 ifneq ($(HAVE_GETOPT_LONG),1)
 SRCCLI += extras/getopt.c