From: Wim Taymans Date: Fri, 12 Jan 2001 19:42:52 +0000 (+0000) Subject: Made sure the mmx does not get compiled on non x86 CPUs X-Git-Tag: BRANCH-AUTOPLUG2-ROOT~85 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=06044e1c17ba565b0bb1c293990fba750f5a18e0;p=platform%2Fupstream%2Fgstreamer.git Made sure the mmx does not get compiled on non x86 CPUs Original commit message from CVS: Made sure the mmx does not get compiled on non x86 CPUs --- diff --git a/libs/colorspace/Makefile.am b/libs/colorspace/Makefile.am index a6257df..0e98fa1 100644 --- a/libs/colorspace/Makefile.am +++ b/libs/colorspace/Makefile.am @@ -2,7 +2,13 @@ filterdir = $(libdir)/gst filter_LTLIBRARIES = libgstcolorspace.la -libgstcolorspace_la_SOURCES = gstcolorspace.c rgb2rgb.c yuv2rgb.c yuv2rgb_mmx16.s +if HAVE_CPU_I386 +ARCHSRCS = yuv2rgb_mmx16.s +else +ARCHSRCS = +endif + +libgstcolorspace_la_SOURCES = gstcolorspace.c rgb2rgb.c yuv2rgb.c $(ARCHSRCS) libgstcolorspaceincludedir = $(includedir)/gst/libs/gstcolorspace libgstcolorspaceinclude_HEADERS = gstcolorspace.h