diff --git a/src/osgPlugins/xine/GNUmakefile b/src/osgPlugins/xine/GNUmakefile index 21f7c0fe8..05b7200f0 100644 --- a/src/osgPlugins/xine/GNUmakefile +++ b/src/osgPlugins/xine/GNUmakefile @@ -11,8 +11,12 @@ INC += $(XINE_INCLUDES) LIBS += $(OSG_LIBS) $(XINE_LIBS) $(OTHER_LIBS) -CFLAGS += -fPIC -CXXFLAGS += -fPIC +ifeq ($(ARCH),64) + CFLAGS += -fPIC + CXXFLAGS += -fPIC +else + CFLAGS += -DCOMPILE_ASSEMBLY +endif TARGET_BASENAME = xine include $(TOPDIR)/Make/cygwin_plugin_def diff --git a/src/osgPlugins/xine/video_out_rgb.c b/src/osgPlugins/xine/video_out_rgb.c index d93bd1067..fd15a55a5 100644 --- a/src/osgPlugins/xine/video_out_rgb.c +++ b/src/osgPlugins/xine/video_out_rgb.c @@ -56,11 +56,6 @@ static int s_debugMessages = 0; -#if !defined(__ia64__) && !defined(__x86_64__) - #define COMPILE_ASSEMBLY -#endif - - #define EVAL(exp) \ {\ if(!(exp))\