From 64ff9ae4a846deb780c186893267f11bc40465d5 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Mon, 3 Jul 2006 19:50:53 +0000 Subject: 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 --- source/nan_compile.mk | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'source/nan_compile.mk') 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 -- cgit v1.2.3