diff options
author | Ton Roosendaal <ton@blender.org> | 2006-07-03 23:50:53 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-07-03 23:50:53 +0400 |
commit | 64ff9ae4a846deb780c186893267f11bc40465d5 (patch) | |
tree | 68f16ee688a988f09dd15fcaf8f5938e84475813 /source/nan_compile.mk | |
parent | d55b5240b9eb26429a2cadea055c904b032b90d0 (diff) |
Mac intel commit
- patch from Douglas with endian fixes
- Makefile adds static libiconv.a from lib/
- this version will use OpenEXR libs from lib/ too, and is latest release
with threading support
- openAL is missing, added it as default to not include it
Diffstat (limited to 'source/nan_compile.mk')
-rw-r--r-- | source/nan_compile.mk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source/nan_compile.mk b/source/nan_compile.mk index 736a3c56ec8..d356d13be42 100644 --- a/source/nan_compile.mk +++ b/source/nan_compile.mk @@ -80,8 +80,13 @@ endif ifeq ($(OS),darwin) CC = gcc CCC = g++ - CFLAGS += -pipe -fPIC -ffast-math -mcpu=7450 -mtune=G5 - CCFLAGS += -pipe -fPIC + ifeq ($(CPU),powerpc) + CFLAGS += -pipe -fPIC -ffast-math -mcpu=7450 -mtune=G5 + CCFLAGS += -pipe -fPIC + else + CFLAGS += -pipe -fPIC -ffast-math -march=pentium-m + CCFLAGS += -pipe -fPIC + endif REL_CFLAGS += -O2 REL_CCFLAGS += -O2 CPPFLAGS += -D_THREAD_SAFE |