From 5d18274cacef89fe4e290dbae8427122028ba868 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Thu, 5 Aug 2010 14:04:56 +0000 Subject: 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 :) --- build_files/make/nan_definitions.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3