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>2009-10-20 19:51:18 +0400
committerTon Roosendaal <ton@blender.org>2009-10-20 19:51:18 +0400
commit0e5a6a21e880a083ad0b565cbf75095f34b891f4 (patch)
tree93b28677f4db43ee1638be884b39998612d852c8 /source/nan_compile.mk
parent5571d37e94a2989ea0dd727abb43887a95f585f3 (diff)
Fixes to get Blender compile and run on PowerPC OSX 10.3, gcc 3.3
(yes antique, but having 5 year old OS's work is very cool) In short: - include <cmath> after <math.h> fails - STL template issues (recursion, syntax)
Diffstat (limited to 'source/nan_compile.mk')
-rw-r--r--source/nan_compile.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/nan_compile.mk b/source/nan_compile.mk
index 8d4da1e2790..6a1263e286c 100644
--- a/source/nan_compile.mk
+++ b/source/nan_compile.mk
@@ -73,8 +73,8 @@ ifeq ($(OS),darwin)
CC ?= gcc
CCC ?= g++
ifeq ($(CPU),powerpc)
- CFLAGS += -pipe -fPIC -ffast-math -mcpu=7450 -mtune=G5 -funsigned-char -fno-strict-aliasing
- CCFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing
+ CFLAGS += -pipe -fPIC -ffast-math -mcpu=7450 -mtune=G5 -funsigned-char -fno-strict-aliasing -Wno-long-double
+ CCFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing -Wno-long-double
else
CFLAGS += -pipe -fPIC -ffast-math -march=pentium-m -funsigned-char -fno-strict-aliasing
CCFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing