Makefile fix: on PowerPC architecture SSE compile should not happen.
[blender-staging.git] / build_files / make / nan_definitions.mk
index d3948511ce3f711440cefb28603f6fbea35afcab..d8da2189e6d07510fcbdac7d67cddcae760bbbde 100644 (file)
@@ -161,7 +161,11 @@ ifndef CONFIG_GUESS
   export WITH_TIFF ?= true
 
   #enable raytracing optimization (currently only for i386 and x86_64)
-  export WITH_BF_RAYOPTIMIZATION ?= true
+  ifeq ($(CPU),powerpc)
+    export WITH_BF_RAYOPTIMIZATION ?= false
+  else
+    export WITH_BF_RAYOPTIMIZATION ?= true
+  endif
 
   export WITH_LCMS ?= false
   export WITH_CINEON ?= true