Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2010-08-05 18:04:56 +0400
committerTon Roosendaal <ton@blender.org>2010-08-05 18:04:56 +0400
commit5d18274cacef89fe4e290dbae8427122028ba868 (patch)
tree37c3da14768892bf9624248f705c47ea1eea131a
parent8c75853bb6cecc70e201e38c7354c36539419324 (diff)
Makefile fix: on PowerPC architecture SSE compile should not happen.
Note for the coder here, is it correct to enable SSE with a general WITH_BF_RAYOPTIMIZATION flag? Just call it WITH_SSE? More clear :)
-rw-r--r--build_files/make/nan_definitions.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/build_files/make/nan_definitions.mk b/build_files/make/nan_definitions.mk
index d3948511ce3..d8da2189e6d 100644
--- a/build_files/make/nan_definitions.mk
+++ b/build_files/make/nan_definitions.mk
@@ -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