diff --git a/source/gameengine/BlenderRoutines/Makefile b/source/gameengine/BlenderRoutines/Makefile index 7f8cc9d152d..f0097e40807 100644 --- a/source/gameengine/BlenderRoutines/Makefile +++ b/source/gameengine/BlenderRoutines/Makefile @@ -40,6 +40,7 @@ CCFLAGS += $(LEVEL_1_CPP_WARNINGS) CPPFLAGS += -I$(OPENGL_HEADERS) CPPFLAGS += -I$(NAN_SUMO)/include -I$(NAN_SOLID)/include +CPPFLAGS += -I$(NAN_SOLID) CPPFLAGS += -I$(NAN_STRING)/include CPPFLAGS += -I$(NAN_MOTO)/include CPPFLAGS += -I$(NAN_BMFONT)/include diff --git a/source/nan_compile.mk b/source/nan_compile.mk index be73368bfc1..3b8a095cdef 100644 --- a/source/nan_compile.mk +++ b/source/nan_compile.mk @@ -78,10 +78,10 @@ endif ifeq ($(OS),darwin) CC = gcc CCC = g++ - CFLAGS += -pipe -fPIC + CFLAGS += -pipe -fPIC -ffast-math -mcpu=7450 -mtune=7450 CCFLAGS += -pipe -fPIC - REL_CFLAGS += -O - REL_CCFLAGS += -O + REL_CFLAGS += -O2 + REL_CCFLAGS += -O2 CPPFLAGS += -D_THREAD_SAFE NAN_DEPEND = true OPENGL_HEADERS = /System/Library/Frameworks/OpenGL.framework diff --git a/source/nan_definitions.mk b/source/nan_definitions.mk index 145d9ffbce3..8ead186f137 100644 --- a/source/nan_definitions.mk +++ b/source/nan_definitions.mk @@ -135,7 +135,7 @@ endif export ID = $(shell whoami) export HOST = $(shell hostname -s) export NAN_PYTHON ?= /sw - export NAN_PYTHON_VERSION ?= 2.2 + export NAN_PYTHON_VERSION ?= 2.3 export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION) export NAN_OPENAL ?= $(LCGDIR)/openal export NAN_FMOD ?= $(LCGDIR)/fmod